Giter Club home page Giter Club logo

Comments (5)

busedagidir avatar busedagidir commented on August 21, 2024 1

any solutions?

from keras-ocr.

odaon avatar odaon commented on August 21, 2024

I am experiencing the same issue.
Any tips on how to fix this?

from keras-ocr.

odaon avatar odaon commented on August 21, 2024

I got it workingv (not crashing) with the following changes:

import tensorflow as tf    
tf.compat.v1.disable_eager_execution()
tf.compat.v1.experimental.output_all_intermediates(True)
 

and removing batch_size from fit()

from keras-ocr.

ACRae avatar ACRae commented on August 21, 2024

I got it workingv (not crashing) with the following changes:

import tensorflow as tf    
tf.compat.v1.disable_eager_execution()
tf.compat.v1.experimental.output_all_intermediates(True)
 

and removing batch_size from fit()

Seems to have fixed it.
Got an explanation for the fix?
Also got this warning now:

WARNING:tensorflow:Discrepancy between trainable weights and collected trainable weights, did you set `model.trainable` without calling `model.compile` after ?

from keras-ocr.

geo-tp avatar geo-tp commented on August 21, 2024

I had exactly the same problem. I forked this repo to make it usable with python3.10 and it also fix this

See: https://github.com/geo-tp/image-ocr
Colab training example: Training Recognizer

from keras-ocr.

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.