-
Notifications
You must be signed in to change notification settings - Fork 816
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
Wrong number of arguments for function call #1
Comments
That is a weird error - can you try reinstalling torch, cutorch, nn, and On Tuesday, October 4, 2016, Rainer Kohlberger notifications@github.com
|
thanks!! seamed to do the trick, training now… |
Hi,
I get the error below when trying running train.lua like this:
th train.lua -h5_file /media/rainer/dada/coco/coco10k.h5 -loss_network models/vgg16.t7 -style_image ~/neural-style/style/10/s08.png -style_image_size 256 -content_weights 1.0 -style_weights 5.0 -checkpoint_name checkpoint -gpu 0
what's wrong? thanks!
/home/rainer/torch/install/bin/luajit: /home/rainer/torch/install/share/lua/5.1/nn/Container.lua:67:
In 6 module of nn.Sequential:
/home/rainer/torch/install/share/lua/5.1/nn/THNN.lua:109: wrong number of arguments for function call
stack traceback:
[C]: in function 'v'
/home/rainer/torch/install/share/lua/5.1/nn/THNN.lua:109: in function 'SpatialMaxPooling_updateOutput'
...ner/torch/install/share/lua/5.1/nn/SpatialMaxPooling.lua:42: in function <...ner/torch/install/share/lua/5.1/nn/SpatialMaxPooling.lua:31>
[C]: in function 'xpcall'
/home/rainer/torch/install/share/lua/5.1/nn/Container.lua:63: in function 'rethrowErrors'
/home/rainer/torch/install/share/lua/5.1/nn/Sequential.lua:44: in function 'forward'
./fast_neural_style/PerceptualCriterion.lua:78: in function 'setStyleTarget'
train.lua:127: in function 'main'
train.lua:320: in main chunk
[C]: in function 'dofile'
...iner/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:145: in main chunk
[C]: at 0x00405d50
The text was updated successfully, but these errors were encountered: