You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
7_imagenet_classification fails because "ceil()" is undefined for "SpatialAveragePooling" #28
When I tried to run the demo of 7_imagenet_classification as th classify.lua, I received the following error:
==> Loading network
Successfully loaded ./nin_imagenet.caffemodel
MODULE data UNDEFINED
warning: module 'data' not found
/home/ma/feng/torch/install/bin/luajit: deploy.prototxt.lua:34: attempt to cal
l method 'ceil' (a nil value)
stack traceback:
deploy.prototxt.lua:34: in main chunk
[C]: in function 'dofile'
...feng/torch/install/share/lua/5.1/loadcaffe/loadcaffe.lua:20: in fun
ction 'load'
classify.lua:55: in main chunk
[C]: in function 'dofile'
...feng/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:131: in ma
in chunk
[C]: at 0x00406240
I check the generated deploy.prototxt.lua, which is
Activity
szagoruyko commentedon Jul 28, 2015
should be fixed by 9ed331e and szagoruyko/loadcaffe@4762b38, update loadcaffe and try again
zhfe99 commentedon Jul 28, 2015
Thanks for the quick move.
It works perfectly now.