Fixed mode of native SSD for val
Signed-off-by: Jim Martens <github@2martens.de>
This commit is contained in:
@ -175,7 +175,7 @@ def predict(dataset: tf.data.Dataset,
|
|||||||
if use_dropout:
|
if use_dropout:
|
||||||
ssd = DropoutSSD(mode='training', weights_path=weights_path)
|
ssd = DropoutSSD(mode='training', weights_path=weights_path)
|
||||||
else:
|
else:
|
||||||
ssd = SSD(mode='training', weights_path=weights_path)
|
ssd = SSD(mode='inference_fast', weights_path=weights_path)
|
||||||
|
|
||||||
checkpointables = {
|
checkpointables = {
|
||||||
'ssd': ssd.model,
|
'ssd': ssd.model,
|
||||||
|
|||||||
Reference in New Issue
Block a user