Open fylingpete opened 4 months ago
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?
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 also having the same problem. How was the issue finally resolved? If I use the author's version, it prompts that it cannot find the appropriate version of the required environment. The screenshots is:
I also having the same problem. How was the issue finally resolved? If I use the author's version, it prompts that it cannot find the appropriate version of the required environment. The screenshots is:
Hello, what operating system are you using?
I get the following error message:
ModuleNotFoundError: OCRDetectionPipeline: No module named 'tf_keras.legacy_tf_layers'
Any ideas how to fix this?
Thank you.