Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

why I trained like 1.1 Train a face generator using the Celeb-A dataset can't be used in Vector Arithmetic #40

Open
c1a1o1 opened this issue Sep 28, 2016 · 2 comments

Comments

@c1a1o1
Copy link

c1a1o1 commented Sep 28, 2016

why I trained like 1.1 Train a face generator using the Celeb-A dataset

can't be used in Vector Arithmetic

@c1a1o1 c1a1o1 changed the title net=celebA_trainCache.t7 gpu=0 qlua arithmetic.lua why I trained like 1.1 Train a face generator using the Celeb-A dataset can't be used in Vector Arithmetic Sep 29, 2016
@soumith
Copy link
Owner

soumith commented Nov 22, 2016

it can be used. what's the issue that you see?

@CCapellen
Copy link

Hello, I also trained the GAN using the Celeb-A dataset on the GPU. However arithmetic.lua does not work on the checkpoints generated doing this. (with the checkpoints, which I downloaded from the repository it worked.)
When I run net=checkpoints/experiment1_1_net_G.t7 gpu=0 qlua arithmetic.lua I get the following error:
table: 0x41a862a8
qlua: /home/catherine/torch/install/share/lua/5.1/torch/File.lua:343: unknown Torch class <torch.CudaTensor>
stack traceback:
[C]: at 0x7f7f513a0f50
[C]: in function 'error'
/home/catherine/torch/install/share/lua/5.1/torch/File.lua:343: in function 'readObject'
/home/catherine/torch/install/share/lua/5.1/torch/File.lua:369: in function 'readObject'
/home/catherine/torch/install/share/lua/5.1/nn/Module.lua:192: in function 'read'
/home/catherine/torch/install/share/lua/5.1/torch/File.lua:351: in function 'readObject'
/home/catherine/torch/install/share/lua/5.1/torch/File.lua:409: in function 'load'
arithmetic.lua:27: in main chunk
When I try to run it in gpu mode I get the same error. I tried to include require cunn and require cudnn at the beginning of arithmetic.lua, but then I get different errors. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants