Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

训练时报错,AttributeError: 'str' object has no attribute 'decode' #7

Open
Altiumleaf opened this issue Dec 2, 2020 · 4 comments

Comments

@Altiumleaf
Copy link

当它在进行训练的时候,会发生报错:Anaconda3\envs\yolo\lib\site-packages\keras\engine\saving.py", line 1004, in load_weights_from_hdf5_group
original_keras_version = f.attrs['keras_version'].decode('utf8')
AttributeError: 'str' object has no attribute 'decode'

@dextercai
Copy link

This problem may occur if the version of h5py is too high. Script works well with 2.10 version

@bd7jat
Copy link

bd7jat commented Feb 2, 2021

This problem may occur if the version of h5py is too high. Script works well with 2.10 version

Thanks a lot ,i followed your way to get things done !

@DoudouMee
Copy link

This problem may occur if the version of h5py is too high. Script works well with 2.10 version

Thank you, help a lot

@Spirit-77
Copy link

thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants