Error in # Save model_1 model_1.save("efficientnet_model_1_10_classes")
fiqiamali opened this issue · 0 comments
fiqiamali commented
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)."