Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DataProvider #31

Open
wangmq77 opened this issue Apr 8, 2018 · 1 comment
Open

DataProvider #31

wangmq77 opened this issue Apr 8, 2018 · 1 comment

Comments

@wangmq77
Copy link

wangmq77 commented Apr 8, 2018

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants