This is the error I’ve been getting:
Exception has occurred: NotImplementedError (note: full exception trace is shown but execution is paused at: tf__predict_function)
When subclassing the Model
class, you should implement a call
method.
I’m not quite sure what to do. The model I’m trying to run the model.predict is tensorflow.python.saved_model.load.Loader._recreate_base_user_object.._UserObject. There’s one parameter in the .predict() function: a numpy array. I’m not sure if the error is in the loading or something else.
Can you share a minimal Colab/Gist to reproduce your error?