imageai報錯ImportError: cannot import name ‘get_custom_objects‘ from ‘tensorflow.python.keras.utils‘

imageai在loadModel時: 或: 分別點開報錯的文件densenet.py和subpixel.py文件,將對應報錯行的‘tensorflow.python.keras.utils’改爲‘tensorflow.keras.utils’,即去掉python即可
相關文章
相關標籤/搜索