potato-disease-classification
potato-disease-classification copied to clipboard
folder name changed. models to saved_models.
in api files you entered saved_models thats
"Failed to add concrete function 'b'__inference_sequential_2_layer_call_fn_33336'' to object-based SavedModel as it captures tensor <tf.Tensor: shape=(), dtype=resource, value=<Resource Tensor>> 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)." I am getting this error while saving the model. Please guide regarding this