hclhkbu / dlbench

Benchmarking State-of-the-Art Deep Learning Software Tools
http://dlbench.comp.hkbu.edu.hk/
MIT License
170 stars 47 forks source link

DataProvider #31

Open wangmq77 opened 6 years ago

wangmq77 commented 6 years ago

Hi! When I use this command : "THC_CACHING_ALLOCATOR=1 CUDA_VISIBLE_DEVICES= 1 THC_CACHING_ALLOCATOR=1 th Main.lua -LR 0.05 -dataset MNIST -network ffn5 -batchSize 342 -epoch 40 -logfile torch_debug.log -save torch_debug.log"

The following error occurred:

/usr/local/bin/luajit: /usr/local/share/lua/5.1/trepl/init.lua:389: /usr/local/share/lua/5.1/trep l/init.lua:389: module 'DataProvider' not found:No LuaRocks module found for DataProvider no field package.preload['DataProvider'] no file '/root/.luarocks/share/lua/5.1/DataProvider.lua' no file '/root/.luarocks/share/lua/5.1/DataProvider/init.lua' no file '/usr/local/share/lua/5.1/DataProvider.lua' no file '/usr/local/share/lua/5.1/DataProvider/init.lua' no file './DataProvider.lua' no file '/usr/local/share/luajit-2.1.0-beta1/DataProvider.lua' no file '/root/.luarocks/lib/lua/5.1/DataProvider.so' no file '/usr/local/lib/lua/5.1/DataProvider.so' no file './DataProvider.so' no file '/usr/local/lib/lua/5.1/loadall.so' stack traceback: [C]: in function 'error' /usr/local/share/lua/5.1/trepl/init.lua:389: in function 'require' Main.lua:79: in main chunk [C]: in function 'dofile' /usr/local/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk [C]: at 0x00405d50

And I can't install the module DataProvider by the command "luarocks install DataProvider", so how to install this module?

minhson commented 3 years ago

you can use this: luarocks install https://raw.githubusercontent.com/eladhoffer/DataProvider.torch/master/dataprovider-scm-1.rockspec from here: http://www.lib4dev.in/info/eladhoffer/ImageNet-Training/28696122