Code Monkey home page Code Monkey logo

Comments (2)

jcjohnson avatar jcjohnson commented on September 7, 2024 1

That is a weird error - can you try reinstalling torch, cutorch, nn, and
cunn?

On Tuesday, October 4, 2016, Rainer Kohlberger [email protected]
wrote:

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


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#1, or mute the
thread
https://github.com/notifications/unsubscribe-auth/ACl7-qdHTwpdsblePOa9YkcC9oKeugFRks5qwpCpgaJpZM4KN9f8
.

from fast-neural-style.

rainerkohlberger avatar rainerkohlberger commented on September 7, 2024

thanks!! seamed to do the trick, training now…

from fast-neural-style.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.