Comments (10)
How large was the file?
from char-rnn.
3.2G
from char-rnn.
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.
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.
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.
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.
@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.
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.
Thanks @hughperkins! Ensuring the input file was in ASCII resolved the issues. The 3.5gb file is running without any errors.
from char-rnn.
@Cmaury Cool :-)
from char-rnn.
Related Issues (20)
- This usually indicates a bug.
- output not being stored as .txt HOT 1
- Sampling Text HOT 3
- Length of primetext causes it to fail
- Question:
- Torch readline.o error
- Th: command not found, Torch installed fine HOT 3
- Question: Is there a way to "pause" temporarily without making it restart? HOT 3
- Random alias of folder created in same location as real
- AMD? HOT 2
- Links in readme.md not working in certain editors
- cutorch installation make error HOT 1
- Package 'python-software-properties' has no installation candidate
- Installation problem: readline.h HOT 2
- Failed to clone the RNN
- How can I change the model form LSTM to GRU?
- Training stuck on "cloning criterion"
- Duo GPU Capabilities? HOT 4
- how do i implement this code in python? HOT 3
- Code
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from char-rnn.