AttributeError: module 'keras.utils.generic_utils' has no attribute 'Config'
时间: 2023-10-21 13:04:30 浏览: 192
AttributeError: module 'tensorflow.compat.v1' has no attribute '
This error occurs when you are trying to access the Config attribute from the generic_utils module in Keras, but it doesn't exist. This can happen if you are using an outdated version of Keras or if the attribute has been removed or renamed in a newer version.
To resolve this error, you can try updating Keras to the latest version or checking the documentation for the version you are using to see if there is a different attribute you should be using instead of Config.
阅读全文