mrdbourke / cs329s-ml-deployment-tutorial

Code and files to go along with CS329s machine learning model deployment tutorial.

Home Page:https://youtu.be/fw6NMQrYc6w

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error in # Save model_1 model_1.save("efficientnet_model_1_10_classes")

fiqiamali opened this issue · comments

KeyError: "Failed to add concrete function 'b'__inference_model_1_layer_call_fn_61750'' to object-based SavedModel as it captures tensor <tf.Tensor: shape=(), dtype=resource, value=> which is unsupported or not reachable from root. One reason could be that a stateful object or a variable that the function depends on is not assigned to an attribute of the serialized trackable object (see SaveTest.test_captures_unreachable_variable)."