From a137018a315a3cc6cfa4dbd7af8f5b1b7166a07c Mon Sep 17 00:00:00 2001 From: Jim Martens Date: Tue, 14 May 2019 13:28:53 +0200 Subject: [PATCH] Make pad elements easy to identify Signed-off-by: Jim Martens --- src/twomartens/masterthesis/data.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/twomartens/masterthesis/data.py b/src/twomartens/masterthesis/data.py index 5d117c8..54d899d 100644 --- a/src/twomartens/masterthesis/data.py +++ b/src/twomartens/masterthesis/data.py @@ -280,7 +280,7 @@ def load_scenenet_val(photo_paths: Sequence[Sequence[str]], final_image_paths.append(image_path) final_labels.append(labels) - empty_label = [[0, 0, 0, 0, 0, 0.0, 0.0]] + empty_label = [[-1, 0, 0, 0, 0, 0.0, 0.0]] real_final_labels = [] for labels in final_labels: _labels = labels[:]