Giter Club home page Giter Club logo

Comments (2)

sujitahirrao avatar sujitahirrao commented on August 18, 2024

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.

macournoyer avatar macournoyer commented on August 18, 2024

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)

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.