Discard all images without gt again

Signed-off-by: Jim Martens <github@2martens.de>
This commit is contained in:
2019-07-25 13:01:34 +02:00
parent e213ed62ec
commit 4a4c23a66e

View File

@ -513,7 +513,7 @@ def load_scenenet_data(photo_paths: Sequence[Sequence[str]],
transformations=transformations, transformations=transformations,
label_encoder=label_encoder, label_encoder=label_encoder,
returns=returns, returns=returns,
keep_images_without_gt=evaluation keep_images_without_gt=False
) )
if debug: if debug:
@ -523,7 +523,7 @@ def load_scenenet_data(photo_paths: Sequence[Sequence[str]],
transformations=transformations, transformations=transformations,
label_encoder=label_encoder, label_encoder=label_encoder,
returns=returns_debug, returns=returns_debug,
keep_images_without_gt=evaluation keep_images_without_gt=False
) )
else: else:
debug_generator = None debug_generator = None