Open ljc1231 opened 2 years ago
https://stackoverflow.com/questions/52876496/importerror-cannot-import-name-relu-in-keras-2-1-3# Probably, it results from the Keras version. Keras 2.4.3 is used in my project.
https://stackoverflow.com/questions/52876496/importerror-cannot-import-name-relu-in-keras-2-1-3# Probably, it results from the Keras version. Keras 2.4.3 is used in my project.
i use "tmpx = Activation('relu')(x) ",but now it has the problem "AttributeError: 'Tensor' object has no attribute '_keras_history'",i checked the code only include keras function not tf, i don't know how to fix it?
ImportError: cannot import name 'ReLU'