soumith / convnet-benchmarks

Easy benchmarking of all publicly accessible implementations of convnets
MIT License
2.68k stars 577 forks source link

Torch 7 #109

Closed weidongye closed 8 years ago

weidongye commented 8 years ago

Hello,

I am trying to run "th convnet-benchmarks/torch7/imagenet_winners" according to the readme

this command produces error: "~/torch/install/bin/luajit: ~/torch/install/share/lua/5.1/trepl/init.lua:384: module 'alexnet' not found:No LuaRocks module found for alexnet"

I've followed the install instruction for the dependencies for torch7. Has anyone seen this before?

Thanks, Weidong

soumith commented 8 years ago

Run it from the imagenet_winners directory

weidongye commented 8 years ago

Thanks for the swift response Soumith! That fixed my issue.

I tried to run the fbnn implementation by commenting line 17 and uncommenting line 8 + 18, and it produced this error: "~/torch/install/share/lua/5.1/trepl/init.lua:384: module 'fb.torch.async_rng' not found:No LuaRocks module found for fb.torch.async_rng"

I have installed all the pre-req libraries according to the readme. Can you provide some advice please?

Thanks, Weidong

soumith commented 8 years ago

fbnn is a bit redundant now, just use cudnn and forget fbnn stuff ever existed, all fft stuff is available in cudnn now.

fqnchina commented 8 years ago

Hi soumith,

Could you explain this a bit more? What you mean by all fft stuff is in cudnn now. From the latest cudnn document, I didn't see they mention fft is implemented already in cudnn.

soumith commented 8 years ago

Search for FFT in the CuDNN Manual, you will find it. https://github.com/soumith/cudnn.torch/blob/master/ffi.lua#L395-L403