Giter VIP home page Giter VIP logo

Comments (9)

nylki avatar nylki commented on May 18, 2024

Update:
The same error also happens when doing word_level=True with train_from_largetext_file for me.
All other options seem to cause no trouble.

from textgenrnn.

hay avatar hay commented on May 18, 2024

I get the same error when trying to train directly from a file. Example code:

from textgenrnn import textgenrnn
textgen = textgenrnn()
textgen.train_from_file('./text/input.txt', num_epochs=1)
textgen.generate()

from textgenrnn.

hay avatar hay commented on May 18, 2024

This seems to be an error since version 1.1, with 1.0 i've got no problems running the code i posted above.

from textgenrnn.

halesyy avatar halesyy commented on May 18, 2024

I'm getting the same error right now, doing nothing wrong it seems :P

from textgenrnn.

halesyy avatar halesyy commented on May 18, 2024

Starting to get it on train_from_largetext_file now, how do I revert back to it?

from textgenrnn.

minimaxir avatar minimaxir commented on May 18, 2024

Looking into this.

from textgenrnn.

minimaxir avatar minimaxir commented on May 18, 2024

Issue confirmed. (looks like something changed with a Keras update; I'm assuming it's the split to a separate keras_preprocessing==1.0.2 package).

I should be able to work around it.

from textgenrnn.

minimaxir avatar minimaxir commented on May 18, 2024

v1.3.2 should fix the issue, it did not reoccur in my testing.

Let me know if everything's OK.

from textgenrnn.

mcwatera avatar mcwatera commented on May 18, 2024

Hello! I would really, really like to use this package! I currently have Python 3.6.8 installed,

I get this error when pip3 installing textgenrnn:

ERROR: Package 'PyYAML' requires a different Python: 3.4.10 not in '>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*'

I was wondering if you could help me figure this out, as it makes it very difficult to install textgenrnn and avoid this problem.

from textgenrnn.

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.