Skip to content
This repository has been archived by the owner on Nov 2, 2018. It is now read-only.

How to generate images using the checkpointed gpu model #9

Closed
reachbp opened this issue Dec 16, 2016 · 1 comment
Closed

How to generate images using the checkpointed gpu model #9

reachbp opened this issue Dec 16, 2016 · 1 comment

Comments

@reachbp
Copy link

reachbp commented Dec 16, 2016

Hi,

How should we generate images using our trained model.
I am trying to generate images from a checkpoint state and I'm trying to use https://github.com/soumith/dcgan.torch/blob/master/generate.lua to generate images.
When I tried to convert the cuda tensor to a cpu-readable tensor using https://github.com/karpathy/neuraltalk2/blob/master/convert_checkpoint_gpu_to_cpu.lua , I get the following error:

/share/apps/torch/20160623/gnu/bin/luajit: convert_checkpoint_gpu_to_cpu.lua:79: bad argument #1 to 'pairs' (table expected, got nil)

Is there an easy way to generate images from the checkpointed model?

@reachbp
Copy link
Author

reachbp commented Dec 16, 2016

Pls ignore my question. Just realized there is code under scripts/ to generate samples.

@reachbp reachbp closed this as completed Dec 16, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant