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

bad marshal data (unknown type code) #5

Open
hsirm opened this issue Jan 10, 2023 · 1 comment
Open

bad marshal data (unknown type code) #5

hsirm opened this issue Jan 10, 2023 · 1 comment

Comments

@hsirm
Copy link

hsirm commented Jan 10, 2023

The checkpoint of your pre-train model is not loading for me. There is an error message stating "bad marshal data". I think there is an inconsistency between the versions of my Keras package and yours. I am experimenting with your notbook on Google Colab. If you are able to help me with this error, it would be greatly appreciated!

@apapiu
Copy link
Owner

apapiu commented Feb 16, 2023

Yes it's a Keras version error. One solution is to save the model weights and then use the load_weights method on a newly instantiated model with the same architecture. I hope I will get around to doing this soon but if you do let me know!

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

2 participants