YCG09 / chinese_ocr

CTPN + DenseNet + CTC based end-to-end Chinese OCR implemented using tensorflow and keras
Apache License 2.0
2.76k stars 1.08k forks source link

tensorflow与keras的兼容问题 #300

Closed unstory closed 4 years ago

unstory commented 5 years ago

最新版本的keras会调用以下语句: from tensorflow.python.eager import context

但是tensorflow1.3.0没有eager模块,会报 ModuleNotFoundError: No module named 'tensorflow.python.eager

最新的keras版本与tensorflow1.3.0不兼容,安装keras时需要指定版本, keras与tensorflow的版本对应表: https://docs.floydhub.com/guides/environments/

BeenLi commented 3 years ago

Have a good day~