-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Error saving the model in Section 8 #545
Comments
I think this is because your model includes custom layers or functions that are not tracked by Keras.
or you can save weight and biases and then import them
|
@ostadnavid I already opened another issue with saving weights and biases :) |
Hi Ivan, can you link to the notebook you're working with here? I'm currently working through trying to find a fix. Seems to be older versions of TensorFlow working (e.g. 2.9.0) but later versions are causing errors with I see you posted here as well: #544 (more info here) Thank you for that, will try to sort both of these out. |
Hi @ivanthecrazy , this may help , The problem is with the models rescaling layer. Then on build just do: |
!pip install tensorflow==2.9 from tensorflow.keras import mixed_precision |
Thank you guys, with correct downgrade it seems to work |
Section 8, video 189.
I'm getting this error when saving the model:
I found out that tf downgrade to 2.9 should do the job, but I'm unable to install 2.9 on colab.
The text was updated successfully, but these errors were encountered: