diff --git a/sugar_scene/cameras.py b/sugar_scene/cameras.py index c6f8afe..1632214 100644 --- a/sugar_scene/cameras.py +++ b/sugar_scene/cameras.py @@ -95,7 +95,7 @@ def load_gs_cameras(source_path, gs_output_path, image_resolution=1, # GT data id = camera_transform['id'] name = camera_transform['img_name'] - image_path = os.path.join(image_dir, name + extension) + image_path = os.path.join(image_dir, name) if load_gt_images: image = Image.open(image_path) @@ -543,4 +543,4 @@ def get_spatial_extent(self): radius = 1.1 * half_diagonal return radius - \ No newline at end of file +