apapiu / guided-diffusion-keras

Text to Image Diffusion Models in Keras
Apache License 2.0
75 stars 7 forks source link

bad marshal data (unknown type code) #5

Open hsirm opened 1 year ago

hsirm commented 1 year ago

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 commented 1 year ago

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!