You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NotImplementedError: Save or restore weights that is not an instance of tf.Variable is not supported in h5, use save_format='tf' instead. Got a model or layer Conv2D with weights [<KerasVariable shape=(7, 7, 3, 64), dtype=float32, path=conv1/kernel>, <KerasVariable shape=(64,), dtype=float32, path=conv1/bias>]
#3021
I am a Newbie to object detection. I am trying to use the saved model for object detection in a video but I am getting the following error-
NotImplementedError: Save or restore weights that is not an instance of tf.Variable is not supported in h5, use save_format='tf' instead. Got a model or layer Conv2D with weights [<KerasVariable shape=(7, 7, 3, 64), dtype=float32, path=conv1/kernel>, ]
Can you please help me out?
The text was updated successfully, but these errors were encountered:
I am a Newbie to object detection. I am trying to use the saved model for object detection in a video but I am getting the following error-
NotImplementedError: Save or restore weights that is not an instance of
tf.Variable
is not supported in h5, usesave_format='tf'
instead. Got a model or layer Conv2D with weights [<KerasVariable shape=(7, 7, 3, 64), dtype=float32, path=conv1/kernel>, ]Can you please help me out?
The text was updated successfully, but these errors were encountered: