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)']
Getting this error when trying to train on my own dataset:
ValueError: Exception encountered when calling layer "yolo_layer_2" (type YoloLayer).
Any ideas?