Fixed transformation of predictions (2nd)

Signed-off-by: Jim Martens <github@2martens.de>
This commit is contained in:
2019-07-11 17:34:26 +02:00
parent ba3cfa379e
commit d77c27727f

View File

@ -302,7 +302,7 @@ def _transform_predictions(predictions: np.ndarray, inverse_transforms: Sequence
y_pred=predictions, y_pred=predictions,
img_width=image_size, img_width=image_size,
img_height=image_size, img_height=image_size,
coords="corners" input_coords="corners"
) )
transformed_predictions = inverse_transform_func(decoded_predictions, inverse_transforms) transformed_predictions = inverse_transform_func(decoded_predictions, inverse_transforms)