Fixed wrong axis in preparation code

Signed-off-by: Jim Martens <github@2martens.de>
This commit is contained in:
2019-07-02 11:43:56 +02:00
parent f72ef5218a
commit 7ad1789e24

View File

@ -463,8 +463,8 @@ def prepare_scenenet_data(data_path: str, protobuf_path: str) -> Tuple[List[List
else: else:
coordinates = coordinates[0] # extract the coords of the one object coordinates = coordinates[0] # extract the coords of the one object
x = coordinates[0] x = coordinates[1]
y = coordinates[1] y = coordinates[0]
xmin, xmax = x.start, x.stop xmin, xmax = x.start, x.stop
ymin, ymax = y.start, y.stop ymin, ymax = y.start, y.stop
instance = instances_traj_dict[instance_id].copy() instance = instances_traj_dict[instance_id].copy()