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

CPU version, Docker is running, but can't train/eval #4

Open
HamedMP opened this issue Apr 15, 2017 · 7 comments
Open

CPU version, Docker is running, but can't train/eval #4

HamedMP opened this issue Apr 15, 2017 · 7 comments

Comments

@HamedMP
Copy link

HamedMP commented Apr 15, 2017

The instruction for docker is for running the docker instance. But when you are inside the docker, you can't train/eval.

It's just like cloning the code, downloading all datasets, pre-trained models on your own computer.

OS: macOS

@brannondorsey
Copy link
Member

I'm having trouble understanding your question. Are you getting specific errors when trying to run scripts from hanzhanggit/StackGAN w/ CPU only? If so, what errors are you getting specifically?

Best,
Brannon

@HamedMP
Copy link
Author

HamedMP commented Apr 15, 2017

Thanks @brannondorsey for asking to clarification.

I will post stack trace later if needed, now a summary of what are the errors:

In either case of running code directly on the computer or using CPU-only docker container, the installation of torch libraries which depends on GPU fails. This results in not having full torch environment and then not being able to run get_embeddings.lua. The rest of the code will fail of course.

I wanted to transform the torch code to CPU only, but I don't have any practical experience in the torch. My guess is that the line requires GPU is:

txt = txt:cuda()

But I don't know what is the CPU counterpart :)

@brannondorsey
Copy link
Member

Ugh oh, I'm afraid I might have similar skill limitations.

@brannondorsey
Copy link
Member

If you post traces I can try and take a look.

@RJ722
Copy link

RJ722 commented Jun 16, 2017

@HamedMP Were you able to run it successfully without GPU?

@apremkumar1989
Copy link

anyone successful without GPU?

I am getting the following error:
module 'cunn' not found:No LuaRocks module found for cunn

@HamedMP
Copy link
Author

HamedMP commented Aug 22, 2017 via email

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

4 participants