UniversalStyleTransfer
UniversalStyleTransfer copied to clipboard
CPU mode?
Hi is there a CPU mode only flag available?
@Sugarbank Thanks for your interests about our work.
Yes, we provide the option for running in CPU mode:
th test_wct.lua -gpu -1
Could someone provide model snapshots for CPU? (or can they be converted without cuda support?
@jjmontesl
Hi, do you mean that you cannot load my model trained under GPU? Did you install cudnn?
Hello. Thanks for responding. I don't have a Cuda GPU, hence I cannot install cudnn and wanted to run from CPU.
When loading models, torch complains because the models are serialized including Cuda classes that are not available in my runtime. The issue seems well known (https://groups.google.com/forum/#!topic/torch7/ugBCwaoXw_s ).
I am entirely new to Torch and maybe this has an easy solution, but I have since tried the Tensorflow implementation you referenced which doesn't raise this issue.
Best,
@Sugarbank @jjmontesl Sorry for the late reply. Since I use the GPU during the training, the decoders require the cudnn for the loading.
I need to explicitly transfer the models to float so that you can load in CPU mode. Please find them here.