-
Notifications
You must be signed in to change notification settings - Fork 362
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ValueError: Unrecognized keyword arguments passed to Dense #255
Comments
Had the same issue, but the fix specified on #252 works for me. tensorflow==2.13.0 |
Thankyou, I installed your versions of tensorflow, keras, and keras-ocr. Now my code is running. |
had the same issue and fixed it by installing this version in colab. |
This is useful, but are there any plans for updating and supporting keras3? |
FYI since TF 2.15 is not compatible with python 3.12+, what I did to fix it was change L277:282 in recognition.py to:
|
I've tried to make a keras_ocr.pipeline.Pipeline() object both on my local machine and cloud notebook, and I'm getting the error mentioned in the title of this issue. I have tensorflow > 2.0.0, as mentioned on the GitHub page. How to fix this? Another point to be noted is that I opened a very old notebook from a youtuber, it was using tensorflow 2.6.4, and keras_ocr was working properly there. However, I cannot install that version of tensorflow as pip does not recognize it, probably because it is not compatible with newer versions of python.
The text was updated successfully, but these errors were encountered: