Changed code to keep images without GT during evaluation
Signed-off-by: Jim Martens <github@2martens.de>
This commit is contained in:
@ -513,7 +513,7 @@ def load_scenenet_data(photo_paths: Sequence[Sequence[str]],
|
||||
transformations=transformations,
|
||||
label_encoder=label_encoder,
|
||||
returns=returns,
|
||||
keep_images_without_gt=False
|
||||
keep_images_without_gt=evaluation
|
||||
)
|
||||
|
||||
if debug:
|
||||
@ -523,7 +523,7 @@ def load_scenenet_data(photo_paths: Sequence[Sequence[str]],
|
||||
transformations=transformations,
|
||||
label_encoder=label_encoder,
|
||||
returns=returns_debug,
|
||||
keep_images_without_gt=False
|
||||
keep_images_without_gt=evaluation
|
||||
)
|
||||
else:
|
||||
debug_generator = None
|
||||
|
||||
Reference in New Issue
Block a user