colab-mask-rcnn
colab-mask-rcnn copied to clipboard
I get this error!
AttributeError Traceback (most recent call last)
/content/Mask_RCNN/model.py in load_weights(self, filepath, by_name, exclude) 2035 2036 if by_name: -> 2037 topology.load_weights_from_hdf5_group_by_name(f, layers) 2038 else: 2039 topology.load_weights_from_hdf5_group(f, layers)
AttributeError: module 'keras.engine.topology' has no attribute 'load_weights_from_hdf5_group_by_name'
I got same error as well
same ... What to do??? Anyone ??
Try pip install 'keras==2.1.6' --force-reinstall
then restart the kernel. Worked for me.
But you'll then need to downgrade scipy for the resize command.
pip install scipy==1.2.2 --force-reinstall
Or, if anyone has an alternative colab rcnn lmk