Skip to content

Notebook 07: Cloned model with loaded weights performs poor in Food Vision Milestone project #416

Answered by mrdbourke
reshma93s asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @reshma93s and @santiagorg2401 ,

Thank you for your troubleshooting steps and tips.

After a fair bit of troubleshooting, it looks like the tf.keras.clone_model method is not performing reliably.

As I was able to create a new model (using the same modelling code as the original model was made with) and load the weights to achieve the same performance.

Alongside this, I installed tf-nightly (May 2023 version which is 2.14.0) to help fix with tf.keras.applications.efficientnet issues.

See the full update/solution here: #550

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by mrdbourke
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants