Giter Club home page Giter Club logo

Comments (4)

yoonkim avatar yoonkim commented on August 12, 2024

Try updating your nn package.

from lstm-char-cnn.

 avatar commented on August 12, 2024

Thanks for getting back to me. I ran luarocks list:
nn
scm-1 (installed) - /home/pixelhead/torch/install/lib/luarocks/rocks
ran again: luarocks install nn
same nn-scm-1.rockspec but when running main.lua a different error referencing 'TestSuite':

home/pixelhead/torch/install/bin/luajit: /home/pixelhead/torch/install/share/lua/5.1/trepl/init.lua:383: /home/pixelhead/torch/install/share/lua/5.1/trepl/init.lua:383: /home/pixelhead/torch/install/share/lua/5.1/nn/test.lua:12: attempt to call field 'TestSuite' (a nil value)
stack traceback:
[C]: in function 'error'
/home/pixelhead/torch/install/share/lua/5.1/trepl/init.lua:383: in function 'require'
main.lua:11: in main chunk
[C]: in function 'dofile'
...head/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:145: in main chunk
[C]: at 0x00406670

Should I update all modules listed under "luarocks list" ??? I'm new to torch/lua. I have karpathy's version including sample-beam.lua running without a problem and would like to compare sampled output from your program.

from lstm-char-cnn.

yoonkim avatar yoonkim commented on August 12, 2024

Can you try updating torch/cunn too?

luarocks install torch
luarocks install cunn

It worked for me when I installed the latest versions.

from lstm-char-cnn.

 avatar commented on August 12, 2024

Thanks. That worked.

Cheers

from lstm-char-cnn.

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.