maskrcnn_train_tensorflow_colab icon indicating copy to clipboard operation
maskrcnn_train_tensorflow_colab copied to clipboard

AttributeError: module 'keras.engine' has no attribute 'Layer'

Open ruchirmehta07 opened this issue 3 years ago • 1 comments

Screenshot-20211125091314-701x347

ruchirmehta07 avatar Nov 25 '21 03:11 ruchirmehta07

Hi, downgrade tf, keras, and h5py. Just add the following:

!pip install tensorflow==1.13.1 !pip install keras==2.0.8 !pip install h5py==2.10.0

ChouBot avatar Nov 25 '21 12:11 ChouBot