Skip to content

can't run Examples in ReadMe #18

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

Closed
liuchang8am opened this issue Feb 22, 2016 · 3 comments
Closed

can't run Examples in ReadMe #18

liuchang8am opened this issue Feb 22, 2016 · 3 comments

Comments

@liuchang8am
Copy link

The Examples script in ReadMe can't run with provided frcnn_alexnet.t7 (https://drive.google.com/file/d/0B-TTdm1WNtyba3I4Vm1hbFRSS2c/view?usp=sharing) file. (refactoring branch)

bin/luajit: models/frcnn_alexnet.lua:55: wrong number of parameter elements !
stack traceback:
[C]: in function 'assert'
models/frcnn_alexnet.lua:55: in function 'loadModel'
test.lua:10: in main chunk
[C]: in function 'dofile'
...e/lc/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:145: in main chunk
[C]: at 0x00406670

@fmassa
Copy link
Owner

fmassa commented Feb 22, 2016

Thanks for pointing this out. Maybe a recent change in nn broke something.
I'll check that in 1h and I'll come back to you

@fmassa
Copy link
Owner

fmassa commented Feb 22, 2016

For the moment, nn doesn't support the groups option (which is necessary for alexnet model to run).
I'll update the README, but in the meanwhile, you can fix it by using the cudnn backend in loadModel (pass cudnn as a second argument.

@liuchang8am
Copy link
Author

Thanks! Load in cudnn mode solves the error.

fmassa added a commit that referenced this issue Mar 8, 2016
Temporary fix for #18
I should add groups to `nn` soon.
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