-
Notifications
You must be signed in to change notification settings - Fork 261
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
ModuleNotFoundError: OCRDetectionPipeline: #10
Comments
This is due to versions of Tensorflow and keras. The OCR model is from modelscope. Using the latest versions of Tensorflow and keras results in incompatibility with the OCR model. Try installing versions of Tensorflow and keras in requirements.txt. If this still reports error, you can continue to write error reports here. |
I'm also having this issue. Which version of TensorFlow and Keras are compatible with the OCR model from modelscope and can be installed on a MacBook with an Apple M1/M2/M3 chip with ARM-based architecture? |
You can try the following two methods on MAC:
|
I get the following error message:
ModuleNotFoundError: OCRDetectionPipeline: No module named 'tf_keras.legacy_tf_layers'
Any ideas how to fix this?
Thank you.
The text was updated successfully, but these errors were encountered: