Giter VIP home page Giter VIP logo

Comments (6)

elj40 avatar elj40 commented on June 7, 2024 1

Maybe just update the requirements so the next person doesn't go through the same pain

from simplehtr.

elj40 avatar elj40 commented on June 7, 2024 1

I forgot to say. Although tensorflow 2.5.0 does work, I still get a lot of warnings of deprecated functions that should be replaced by new ones, so maybe look into those too.

Thanks for making this project. I'm glad it exists

from simplehtr.

githubharald avatar githubharald commented on June 7, 2024

you can give the closest version a try, 2.5.0, and see if it works.

from simplehtr.

elj40 avatar elj40 commented on June 7, 2024

It seems that 2.5.0 will work, but it does throw a lot of warnings that a lot of the functions are deprecated and will be removed soon,.

I still haven't gotten it working but I think its because it says tensorflow 2.5.0 doesnt want to interact nicely with the later versions of tensorflow-intel. I will try again tomorrow in a virtual environment and get back to you.

You can close the issue if you like.

from simplehtr.

elj40 avatar elj40 commented on June 7, 2024

Okay I have finally gotten it work!
These were the lowest requirements I found to work:

editdistance==0.6.2
patch-ng
lmdb==1.3.0
matplotlib==3.3.0
numpy==1.19.5
opencv-python==4.4.0.46
path==15.0.0
tensorflow==2.5.0

I ALSO had to get the Python package for Visual Studio with native packages enabled

from simplehtr.

githubharald avatar githubharald commented on June 7, 2024

thanks a lot for sharing your findings. Next time I do an update I'll push the versions.
For native bindings: this is most likely due to editdistance which gets compiled locally.

from simplehtr.

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.