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
Getting this error when trying to train on my own dataset:
ValueError: Exception encountered when calling layer "yolo_layer_2" (type YoloLayer).
in user code:
File "C:\Users\toby-\Documents\GitHub\keras-yolo3\yolo.py", line 47, in call *
batch_seen = tf.Variable(0.)
ValueError: tf.function only supports singleton tf.Variables created on the first call. Make sure the tf.Variable is only created once or created outside tf.function. See https://www.tensorflow.org/guide/function#creating_tfvariables for more information.
Call arguments received:
• x=['tf.Tensor(shape=(None, None, None, 3), dtype=float32)', 'tf.Tensor(shape=(None, None, None, 231), dtype=float32)', 'tf.Tensor(shape=(None, None, None, 3, 77), dtype=float32)', 'tf.Tensor(shape=(None, 1, 1, 1, 28, 4), dtype=float32)']
Any ideas?
The text was updated successfully, but these errors were encountered:
Getting this error when trying to train on my own dataset:
ValueError: Exception encountered when calling layer "yolo_layer_2" (type YoloLayer).
Any ideas?
The text was updated successfully, but these errors were encountered: