MaskRCNN模型报错与解决方案

1.报错信息:
Input image dtype is bool. Interpolation is not defined with bool data type
解决方案:

pip install -U scikit-image==0.16.2

2.报错信息
File “/home/xxq/anaconda3/envs/maskrcnn/lib/python3.6/site-packages/keras/engine/topology.py”, line 3114, in load_weights_from_hdf5_group_by_name
original_keras_version = f.attrs[‘keras_version’].decode(‘utf8’)
AttributeError: ‘str’ object has no attribute ‘decode’
解决方案

pip install h5py==2.10.0

你可能感兴趣的:(linux)