fbcunn imagenet example synchronize error

57 views
Skip to first unread message

Yunhun Jang

unread,
Mar 24, 2015, 11:49:00 PM3/24/15
to tor...@googlegroups.com
Hi, everyone.

I'm trying to use fbcunn imagenet example now.

However, I have trouble running the code.

When I execute the example using command such as

th main.lua -data /my/path/to/ilsvrc2014 -nGPU 2 


it gives me the error looks like following:

/home/vision/torch/install/bin/luajit: /home/vision/torch/install/share/lua/5.1/threads/init.lua:271: 
[thread 1 callback] /home/vision/torch/install/share/lua/5.1/torch/File.lua:254: unknown object
[thread 2 callback] /home/vision/torch/install/share/lua/5.1/torch/File.lua:254: unknown object
stack traceback:
[C]: in function 'error'
/home/vision/torch/install/share/lua/5.1/threads/init.lua:271: in function 'synchronize'
/home/vision/torch/install/share/lua/5.1/threads/init.lua:148: in function 'Threads'
/home/vision/torch/extra/fbcunn/examples/imagenet/data.lua:18: in main chunk
[C]: in function 'dofile'
main.lua:28: in main chunk
[C]: in function 'dofile'
...sion/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:131: in main chunk
[C]: at 0x00406640


Are there anyone who knows why this happen?


soumith

unread,
Mar 25, 2015, 12:08:57 AM3/25/15
to torch7 on behalf of Yunhun Jang
Whenever you want to debug, use the script with the flag: -nDonkeys 0
In your case: th main.lua -data /my/path/to/ilsvrc2014 -nGPU 2 -nDonkeys 0

It will give you a clearer stack-trace of what's going on.

--
You received this message because you are subscribed to the Google Groups "torch7" group.
To unsubscribe from this group and stop receiving emails from it, send an email to torch7+un...@googlegroups.com.
To post to this group, send email to tor...@googlegroups.com.
Visit this group at http://groups.google.com/group/torch7.
For more options, visit https://groups.google.com/d/optout.

Yunhun Jang

unread,
Mar 25, 2015, 4:44:34 AM3/25/15
to tor...@googlegroups.com
Thanks, smth

It was the problem of trainCache.t7

It works well now!

2015년 3월 25일 수요일 오후 1시 8분 57초 UTC+9, smth chntla 님의 말:
Whenever you want to debug, use the script with the flag: -nDonkeys 0
In your case: th main.lua -data /my/path/to/ilsvrc2014 -nGPU 2 -nDonkeys 0

It will give you a clearer stack-trace of what's going on.
Reply all
Reply to author
Forward
0 new messages