Changed mode to training for DropoutSSD to allow partitioning of observations
Signed-off-by: Jim Martens <github@2martens.de>
This commit is contained in:
@ -141,7 +141,7 @@ def predict(dataset: tf.data.Dataset,
|
|||||||
checkpointables = {}
|
checkpointables = {}
|
||||||
if use_dropout:
|
if use_dropout:
|
||||||
checkpointables.update({
|
checkpointables.update({
|
||||||
'ssd': DropoutSSD(mode='inference_fast', weights_path=weights_path)
|
'ssd': DropoutSSD(mode='training', weights_path=weights_path)
|
||||||
})
|
})
|
||||||
else:
|
else:
|
||||||
checkpointables.update({
|
checkpointables.update({
|
||||||
|
|||||||
Reference in New Issue
Block a user