Giter Club home page Giter Club logo

Comments (10)

 avatar commented on September 25, 2024

How large was the file?

from char-rnn.

ukclivecox avatar ukclivecox commented on September 25, 2024

3.2G

from char-rnn.

karpathy avatar karpathy commented on September 25, 2024

interesting. 3GB is very large by the way, I'm not even sure if a huge LSTM running on 12GB GPU could fit that.

We have PR in works that will allow people to use multiple input files, so maybe those will be helpful. What is the dataset? (curious)

from char-rnn.

ukclivecox avatar ukclivecox commented on September 25, 2024

The dataset is an internal one of tag streams from a news website. It probably doesn't need to be that big and could be heavily down sampled but just thought I would try the whole dataset and thus found the error. Hopefully the multiple file work will solve this as you say.

from char-rnn.

Wilibald avatar Wilibald commented on September 25, 2024

Hi, same issue here, only my file is 9 GB big (10 years of eurusd ticks). BTW, the data is freely available here: http://www.ulozto.cz/xpn7H9Td/eurusd-ticks-2003-05-04-2013-08-20-csv-7z

from char-rnn.

Cmaury avatar Cmaury commented on September 25, 2024

I have a 3.4GB input file of user generated fiction and it loads without this error. I'm training on a GPU (GTX 970) 32Gbs RAM.

That said, I am getting a different error while evaluating loss at the split level: .../char-nn/utils/OneHot.lua Index out of bounds at ~/torch/pkg/torch/lib/TH/generic/THTensorMath.c:141

from char-rnn.

hughperkins avatar hughperkins commented on September 25, 2024

@Cmaury one thing you might want to double-check is that all characters in your input file are ascii, in range 32-128 (maybe plus 13, 10 for linefeed), without some strange unicode quotation marks and stuff. Not sure if strange quotation marks will break things, but they might.

from char-rnn.

LeapGamer avatar LeapGamer commented on September 25, 2024

I had a dataset that included strange quotes and things and it was fine. I just filtered out a bunch of data to reduce my vocab size though, anyway.

from char-rnn.

Cmaury avatar Cmaury commented on September 25, 2024

Thanks @hughperkins! Ensuring the input file was in ASCII resolved the issues. The 3.5gb file is running without any errors.

from char-rnn.

hughperkins avatar hughperkins commented on September 25, 2024

@Cmaury Cool :-)

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.