Comments (2)
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 0what'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.
thanks!! seamed to do the trick, training now…
from fast-neural-style.
Related Issues (20)
- cuda runtime error when training
- invalid argument: /path/to/output/file.h5
- Training image sizes
- train requirements.txt error 'ascii' codec can't decode byte 0xe2 in position 1178
- How to understand the gradient backward propagation of perceptual loss? HOT 1
- did you try it with nvidia jetson tx2 / nvidia xavier hardware?
- cannot open <starry_night.t7>
- Cannot run fast_neural_style.lua script(libjpeg library problem) HOT 1
- Diffrent results on diffrent machines HOT 1
- C# Implementation
- predict result is different when running opencv and fast_neural_style.lua script HOT 1
- get bad results after training candy
- unable to set v4l2 format: Invalid argument
- File.lua: unknown object HOT 2
- What is motivation of using 9x9 conv at first and last layer?
- tanh 150 constant - why? HOT 6
- could we apply fast-neural-transfer to image deformation?
- fork failed: cannot allocate memory HOT 1
- Problems with lua HOT 1
- Does anyone know the original source of the mosaic image?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fast-neural-style.