Giter Club home page Giter Club logo

Comments (7)

ryanleary avatar ryanleary commented on September 25, 2024

Have you installed all of the requirements listed in the readme?

from char-rnn.

rracinskij avatar rracinskij commented on September 25, 2024

Thanks for your reply. I have trouble with installing cutorch+cunn/cltorch+clnn packages, but using -gpuid flag to force using CPU doesn't help either.

from char-rnn.

hughperkins avatar hughperkins commented on September 25, 2024

Can you make sure you update all of the following packages and try again:

luarocks install torch7
luarocks install nn
luarocks install nngraph

If that fails, can you reinstlal nn:

luarocks remove --force nn
luarocks install nn

from char-rnn.

rracinskij avatar rracinskij commented on September 25, 2024

Now the error changed to "dyld: lazy symbol binding failed: Symbol not found: _lua_setglobal
Referenced from: /usr/local/lib/lua/5.1/libtorch.so". It looks like a more general issue, I'll try to reinstall everything once again or run the code on another machine. Thank you for your help.

from char-rnn.

hughperkins avatar hughperkins commented on September 25, 2024

Yes, I think that sounds like a good plan :-)

from char-rnn.

fmassa avatar fmassa commented on September 25, 2024

@rracinskij you are maybe using an old install from torch, which is global.
Try uninstalling your global installation using

curl -s https://raw.githubusercontent.com/torch/ezinstall/master/clean-old.sh | bash

from https://github.com/torch/ezinstall, and then install it again following the instructions from http://torch.ch/docs/getting-started.html#_

from char-rnn.

rracinskij avatar rracinskij commented on September 25, 2024

Thank you, @fmassa!
Finally solved the problem by uninstalling using
curl -s https://raw.githubusercontent.com/torch/ezinstall/master/clean-old.sh | bash
and reinstalling from https://github.com/torch/ezinstall.
Many thanks to everyone!

from char-rnn.

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.