Skip to content
deflorator1980 edited this page Mar 31, 2021 · 2 revisions

In case of error:

/python3.6/site-packages/keras/engine/saving.py", line 1009 [1004], in load_weights_from_hdf5_group original_backend = f.attrs['backend'].decode('utf8') AttributeError: 'str' object has no attribute 'decode'

Remove .decode('utf8') in this lines.

Clone this wiki locally