Colab notebook exits with error
bazylip opened this issue · 1 comments
bazylip commented
After running AVA-MLSP demo
Colab notebook (without any changes), it fails while loading model:
Loading InceptionResNetV2 multi-pooled with input_shape: (None, None, 3)
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-8-229f812e82f8> in <module>()
2 model_name = 'mlsp_wide_orig'
3 input_shape = (None, None, 3)
----> 4 model_base = apps.model_inceptionresnet_pooled(input_shape)
5 pre = apps.process_input[apps.InceptionResNetV2]
6
6 frames
/tensorflow-1.15.2/python3.7/keras/engine/saving.py in load_weights_from_hdf5_group(f, layers, reshape)
1181 """
1182 if 'keras_version' in f.attrs:
-> 1183 original_keras_version = f.attrs['keras_version'].decode('utf8')
1184 else:
1185 original_keras_version = '1'
AttributeError: 'str' object has no attribute 'decode'
subpic commented
Thanks for reporting this 👍🏻 I've updated it to use kuti
and it works again.