C4W3: My model trained well and loads normally:
vae.save(“anime.keras”)
however when I insert it in the submission, it gives me the error:
“Your model could not be loaded. Make sure it is a valid keras file, if this is the case please let us know.”
Hi Nathan and welcome to the Forum! May I ask the name of the class that computes the KLD loss? Is it KLDLoss or KLDLayer? If it’s KLDLoss, you might have used a slightly older version of the notebook. You can rename it to KLDLayer then re-run the entire notebook to have a new file with the expected classes. Sorry for the trouble but this should work. Hope it helps!