From 7ad1789e24ae52ca96321b85f92e1ba9c1fb292f Mon Sep 17 00:00:00 2001 From: Jim Martens Date: Tue, 2 Jul 2019 11:43:56 +0200 Subject: [PATCH] Fixed wrong axis in preparation code Signed-off-by: Jim Martens --- src/twomartens/masterthesis/data.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/twomartens/masterthesis/data.py b/src/twomartens/masterthesis/data.py index 48f8028..952eb09 100644 --- a/src/twomartens/masterthesis/data.py +++ b/src/twomartens/masterthesis/data.py @@ -463,8 +463,8 @@ def prepare_scenenet_data(data_path: str, protobuf_path: str) -> Tuple[List[List else: coordinates = coordinates[0] # extract the coords of the one object - x = coordinates[0] - y = coordinates[1] + x = coordinates[1] + y = coordinates[0] xmin, xmax = x.start, x.stop ymin, ymax = y.start, y.stop instance = instances_traj_dict[instance_id].copy()