Comments (8)
Should be 0.3.1
from vae-cvae-mnist.
Thanks!
from vae-cvae-mnist.
@timbmg as suggested I have used pytorch 0.3.1 with cuda 8.0:
pytorch 0.3.1 py36_cuda8.0.61_cudnn7.1.2_3 pytorch
It would be really helpful if you could share your environment you used to build the code as I am still facing some errors because of python version
The current issue is:
AttributeError: Can't get attribute '_rebuild_tensor_v2' on <module 'torch._utils' from '/home/somabiswas/anaconda3/envs/CVAE_pytorch/lib/python3.6/site-packages/torch/_utils.py'>
This issue is similar to https://discuss.pytorch.org/t/question-about-rebuild-tensor-v2/14560
from vae-cvae-mnist.
Could you share the full error track?
from vae-cvae-mnist.
When I run "python train.py --conditional" I get this error:
/home/somabiswas/anaconda3/envs/CVAE_pytorch/lib/python3.6/importlib/_bootstrap.py:219: RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility. Expected 96, got 88
return f(*args, **kwds)
Traceback (most recent call last):
File "train.py", line 143, in
main(args)
File "train.py", line 33, in main
datasets['train'] = MNIST(root='data', train=True, transform=transforms.ToTensor(), download=True)
File "/home/somabiswas/anaconda3/envs/CVAE_pytorch/lib/python3.6/site-packages/torchvision/datasets/mnist.py", line 54, in init
os.path.join(self.root, self.processed_folder, self.training_file))
File "/home/somabiswas/anaconda3/envs/CVAE_pytorch/lib/python3.6/site-packages/torch/serialization.py", line 267, in load
return _load(f, map_location, pickle_module)
File "/home/somabiswas/anaconda3/envs/CVAE_pytorch/lib/python3.6/site-packages/torch/serialization.py", line 420, in _load
result = unpickler.load()
AttributeError: Can't get attribute '_rebuild_tensor_v2' on <module 'torch._utils' from '/home/somabiswas/anaconda3/envs/CVAE_pytorch/lib/python3.6/site-packages/torch/_utils.py'>
from vae-cvae-mnist.
I see, so its actually coming from torchvision. What version are you using? Maybe I can recreate. Also, are you certain you're executing pytorch 0.3.1? Because _rebuild_tensor_v2
did not exist in that version (see here: https://github.com/pytorch/pytorch/blob/v0.3.1/torch/_utils.py).
from vae-cvae-mnist.
Hello,
I have the same error! What version of torchvision should we be using? I have pytorch 0.3.1.
Thanks!
from vae-cvae-mnist.
I just updated some stuff to new pytorch v1 and also added requirements.txt. Hope this helps! Let me know if you run into any problems!
from vae-cvae-mnist.
Related Issues (5)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vae-cvae-mnist.