Giter Site home page Giter Site logo

Killed about chatbot-ai HOT 6 OPEN

llsourcell avatar llsourcell commented on July 1, 2024
Killed

from chatbot-ai.

Comments (6)

bobhinkle avatar bobhinkle commented on July 1, 2024 1

Tried re-running with a smaller data set and now get this

-- Epoch 1 / 50

/home/ubuntu/torch/install/bin/luajit: ...u/torch/install/share/lua/5.1/rnn/SequencerCriterion.lua:42: expecting target table
stack traceback:
[C]: in function 'assert'
...u/torch/install/share/lua/5.1/rnn/SequencerCriterion.lua:42: in function 'forward'
./seq2seq.lua:74: in function 'train'
train.lua:85: in main chunk
[C]: in function 'dofile'
...untu/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:145: in main chunk
[C]: at 0x0000cff9

from chatbot-ai.

llSourcell avatar llSourcell commented on July 1, 2024

@bobhinkle could be related to this dependency issue, he posts a solution #1 if not that it could be a memory overflow? if you are running this locally, i suggest running it on AWS. See ML for Hackers #4 for an AWS walkthrough.

from chatbot-ai.

juharris avatar juharris commented on July 1, 2024

@llSourcell I had the same issue and got expecting target table.
I don't think it's related to the dependencies because I tried with and without CUDA:

  • th train.lua --cuda --dataset 500 --hiddenSize 100 --maxEpoch 10 --saturateEpoch 4
  • th train.lua --dataset 500 --hiddenSize 100 --maxEpoch 10 --saturateEpoch 4

That stuff about dependencies was mainly about when running with OpenCL.

I'm running on a CentOS machine with Lua 5.3.3. I also tried with Lua 5.1.4.

from chatbot-ai.

juharris avatar juharris commented on July 1, 2024

Temporary solution: Comment out the failing asserts in SequencerCriterion.lua (in ~/torch/install/share/lua/5.2/rnn/SequencerCriterion.lua for me because I installed Torch with TORCH_LUA_VERSION=LUA52 ./install.sh by default you'll find it at ~/torch/install/share/lua/5.1/rnn/SequencerCriterion.lua).

Those checks on target don't really seem that necessary to us.

I trained it pretty quickly using th train.lua --dataset 500 --hiddenSize 100 --maxEpoch 10 --saturateEpoch 4 and it works but the answers aren't that good, hopefully that just because of my constraints and not because something else went wrong.

@llSourcell maybe changing the type of decoderTarget would be a better fix?

from chatbot-ai.

llSourcell avatar llSourcell commented on July 1, 2024

@juharris thanks so much for your posts on here with issues. I now have 7 ML for hackers repos to maintain with much more content to come so I may need some help with this issue. The quick fix you posted, could you make a PR with it? I would really appreciate. I'll merge it immediately

from chatbot-ai.

juharris avatar juharris commented on July 1, 2024

@llSourcell The fix isn't in this repo. The fix is the rnn package. Looks like they'll have a fix coming in the original repo: macournoyer/neuralconvo#31

from chatbot-ai.

Related Issues (8)

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.