Comments (2)
Update:
I changed the flag from --cuda to --opencl and got this:
`-- Loading dataset
Loading vocabulary from data/vocab.t7 ...
Dataset stats:
Vocabulary size: 7061
Examples: 8151
Using NVIDIA Corporation , OpenCL platform: NVIDIA CUDA
Using OpenCL device: GeForce 820M
-- Epoch 1 / 50
/home/sujit/torch/install/bin/luajit: /home/sujit/torch/install/share/lua/5.1/nn/Container.lua:67:
In 3 module of nn.Sequential:
...sujit/torch/install/share/lua/5.1/rnn/recursiveUtils.lua:57: bad argument #2 to 'add' (sizes do not match at /tmp/luarocks_cltorch-scm-1-2933/cltorch/cltorch/src/lib/THClTensorMathPointwise.cpp:156)
stack traceback:
[C]: in function 'add'
...sujit/torch/install/share/lua/5.1/rnn/recursiveUtils.lua:57: in function 'recursiveAdd'
/home/sujit/torch/install/share/lua/5.1/rnn/LSTM.lua:192: in function '_updateGradInput'
...it/torch/install/share/lua/5.1/rnn/AbstractRecurrent.lua:58: in function 'updateGradInput'
/home/sujit/torch/install/share/lua/5.1/rnn/Sequencer.lua:79: in function 'updateGradInput'
/home/sujit/torch/install/share/lua/5.1/nn/Module.lua:31: in function </home/sujit/torch/install/share/lua/5.1/nn/Module.lua:29>
[C]: in function 'xpcall'
/home/sujit/torch/install/share/lua/5.1/nn/Container.lua:63: in function 'rethrowErrors'
/home/sujit/torch/install/share/lua/5.1/nn/Sequential.lua:84: in function 'backward'
./seq2seq.lua:90: in function 'train'
train.lua:85: in main chunk
[C]: in function 'dofile'
...ujit/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:145: in main chunk
[C]: at 0x00406670
WARNING: If you see a stack trace below, it doesn't point to the place where this error occured. Please use only the one above.
stack traceback:
[C]: in function 'error'
/home/sujit/torch/install/share/lua/5.1/nn/Container.lua:67: in function 'rethrowErrors'
/home/sujit/torch/install/share/lua/5.1/nn/Sequential.lua:84: in function 'backward'
./seq2seq.lua:90: in function 'train'
train.lua:85: in main chunk
[C]: in function 'dofile'
...ujit/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:145: in main chunk
[C]: at 0x00406670
`
from neuralconvo.
I think that's because your graphic card doesn't have enough memory to fix the data ... hard to tell. I'm using a GeForce 780M w/ 4GB
Can you try w/ latest master, it fixes a few other things.
from neuralconvo.
Related Issues (20)
- attempt to call method 'topk' (a nil value)
- why need opencl if I user 'th train.lua --cuda --gpu 0'
- Error on saivng model with neuralconvo and distro-cl
- Error on this branch: https://github.com/rustch3n/chatbot-zh-torch7 HOT 1
- how can you ensure that the output is a smooth sentence? HOT 1
- PANIC: unprotected error in call to Lua API (not enough memory)----but 'top' show the memory are still avaialbe
- Perplexity calculation
- The lines are shortened to the first sentence HOT 2
- online learning for the model HOT 1
- The memory usage skyrocket each time it saves HOT 3
- [Discuss:] how to improve the performance? HOT 1
- vocab.t7 not found HOT 2
- Crash on 2nd epoch: invalid arguments: DoubleTensor number FloatTensor - adam.lua HOT 1
- Anyone please share their model ? HOT 4
- Initialising pre-trained model
- Train with error HOT 2
- training_fail_/seq2seq.lua:62: attempt to call field 'recursiveCopy' HOT 10
- When I'm trying to train the model.. I'm facing with this error
- "Wrong size for view" error while evalution HOT 1
- [Question] How do you focus the training on only one person
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 neuralconvo.