ImportError: cannot import name ‘get_config‘

Screenshot of the error code:

insert image description here
The solution is to change keras.layers import Input to tensorflow.keras.layers import Input
insert image description here

Guess you like

Origin blog.csdn.net/qq_45257495/article/details/131182562