https://github.com/keras-team/keras
参考这里最新的动态更新
当遇到类似于下面的这种报错的时候,那就是版本不匹配
Traceback (most recent call last):
File "G:/代码/spider-code/auto_mobile/soul_robot/home/image_check.py", line 2, in <module>
from keras.models import load_model
File "C:\Users\shixiaolong\AppData\Local\Programs\Python\Python36\lib\site-packages\keras\__init__.py", line 21, in <module>
from tensorflow.python import tf2
ImportError: cannot import name 'tf2'
网友评论