Code Monkey home page Code Monkey logo

Comments (4)

reckart avatar reckart commented on August 22, 2024

You need to talk to @nreimers ;)

from emnlp2017-bilstm-cnn-crf.

Rabia-Noureen avatar Rabia-Noureen commented on August 22, 2024

@reckart Okay thanks:)

from emnlp2017-bilstm-cnn-crf.

Rabia-Noureen avatar Rabia-Noureen commented on August 22, 2024

@nreimers Please have a look at the issue i am stuck and i need some guidance....
Thanks in advance.

from emnlp2017-bilstm-cnn-crf.

nreimers avatar nreimers commented on August 22, 2024

Hi,
looks like some issue with the pickle file. Sadly Windows and Python is not the best combination and it has several issues with storing and reading files correctly from the disk + issues with special characters. I would recommend to use Linux when you are working with Python and Keras.

On Windows you can get a good Linux environment when using Docker. There is also a docker file for this project to run the code.

When you search for EOF error, you find several problems, especially for Windows. One issue is that you might not have enough RAM?

The Glove embeddings are quite large and pickle is known to throw an EOFerror when it runs out of RAM. Try to use some smaller embeddings file or try it with more RAM.

Also try to delete the pickle files in the pkl-folder and to re-run the script.

Another solution for the EOFerror on Windows is to apply dos2unix / unix2dos to the pickle file and then try to load it again. Some report that it is an issue with the different line endings of unix / windows.

from emnlp2017-bilstm-cnn-crf.

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.