Cannot submit VAE assignment

Although i am submitting Keras file of my model past 2 days with the minimum loss , it says it’s not supported and

Your model could not be loaded. Make sure it is a valid keras file, if this is the case please let us know.

this one what to do?.

Tried both

Hi! This might be a problem with the tensorflow version in Colab. We’ll investigate this. In the meantime, please try adding a code cell before the imports with this:

!pip install tensorflow==2.18

Then run everything again, and submit the file generated by:


# Save the model you just trained
vae.save("anime.keras")

Hope this helps.

i ran it locally, actually, i have exhausted all my resources from multiple accounts in Colab, and my pc environment uses 2.15 well

used tensorflow 2.18 on colab and this happened on same notebook that i already perfectly trrained on pc tf version 2.15.1

I see. Please send me your notebook via direct message so we can investigate. You can click my name then the blue message button. Thanks.

i haven’t been using the reshape layer. It worked thanks.

2 Likes