Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
vaibhavnayel committed Jun 23, 2023
1 parent 5057bf4 commit 4d3a838
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions splatter.py
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,6 @@ def crop(self, image):
# output: height x width x 3
top = int(self.padded_height - self.height)//2
left = int(self.padded_width - self.width)//2
#return image[top:top+int(self.height), left:left+int(self.width), :]
return image[top:top+int(self.height), left:left+int(self.width), :]

def create_tiles(self):
Expand Down Expand Up @@ -490,7 +489,6 @@ def set_camera(self, idx, extrinsics=None, intrinsics=None):
focal_y = self.current_camera.params[1] / self.render_downsample
print(focal_x)
print(focal_y)
# breakpoint()
self.tile_info = Tiles(int(self.ground_truth.shape[1]), int(self.ground_truth.shape[0]), focal_x, focal_y, self.device)
self.tile_info_cpp = self.tile_info.create_tiles()

Expand Down

0 comments on commit 4d3a838

Please sign in to comment.