karpathy / neuraltalk2

Efficient Image Captioning code in Torch, runs on GPU
5.49k stars 1.26k forks source link

Convert Gpu Model to CPU issues and some fixes #185

Open giddyyupp opened 7 years ago

giddyyupp commented 7 years ago

when i tried to convert the model, i got fb.debugger errors. the easiest solution is to do this: luarocks install https://raw.githubusercontent.com/bshillingford/fbdebugger-minimal/master/fbdebugger-standalone-1.rockspec this installs just the debugger not all fb libraries. after you installed this and run the convert script, debugger comes up and it stucks, i write "quit" and finally it saved cpu model.

so basically these are the required steps to convert a gpu model to cpu.