From 6a1f1ee59bfa63d621b0c6b2c1040a7c9ec732d3 Mon Sep 17 00:00:00 2001 From: Benjamin Wilson Date: Sun, 7 May 2023 18:07:43 -0700 Subject: [PATCH] Update 3d_object_detection.py (#184) * Update 3d_object_detection.py * Apply formatting. --- tutorials/3d_object_detection.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tutorials/3d_object_detection.py b/tutorials/3d_object_detection.py index db2497f2..ff6d9cc5 100644 --- a/tutorials/3d_object_detection.py +++ b/tutorials/3d_object_detection.py @@ -56,9 +56,6 @@ def main( # Cuboids might not be available (e.g., using the "test" split). if sweep.cuboids is not None: # Annotations in (x,y,z,l,w,h,yaw) format. - cuboids = sweep.cuboids.as_tensor() - - # Annotations in (x,y,z,l,theta) format. # 1-DOF rotation. xyzlwh_t = sweep.cuboids.as_tensor() @@ -68,7 +65,7 @@ def main( # Access track uuid. track_uuid = sweep.cuboids.track_uuid - # print(lidar_xyz_city, cuboids, xyzlwh_t, category, track_uuid) + # print(lidar_xyz_city, xyzlwh_t, category, track_uuid) if i >= max_iterations: logger.info(f"Reached max iterations of {max_iterations}!")