Removed metrics that are unavailable in tensorflow 1.12
Signed-off-by: Jim Martens <github@2martens.de>
This commit is contained in:
@ -475,10 +475,7 @@ def train_keras(train_generator: callable,
|
|||||||
beta1=0.5, beta2=0.999),
|
beta1=0.5, beta2=0.999),
|
||||||
loss=ssd_loss.compute_loss,
|
loss=ssd_loss.compute_loss,
|
||||||
metrics=[
|
metrics=[
|
||||||
tf.keras.metrics.Precision(),
|
"categorical_accuracy"
|
||||||
tf.keras.metrics.Recall(),
|
|
||||||
tf.keras.metrics.FalsePositives(),
|
|
||||||
tf.keras.metrics.CategoricalAccuracy()
|
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user