Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
kellyguo11 committed Aug 3, 2024
1 parent 9e1edb3 commit c4dac33
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -246,15 +246,13 @@ def forward(self, x):

# model = ResNet18()
self.rgb_model = CustomCNN(self.device)
# self.depth_model = CustomCNN(depth=True)
self.rgb_model.to(self.device)
# self.depth_model = CustomCNN(depth=True)
# self.depth_model.to(self.device)


def compute_embeddings_observations(self, state_obs):
rgb_img = self._tiled_camera.data.output["rgb"][..., :3].clone()


rgb_img = self._tiled_camera.data.output["rgb"].clone()
# mean_tensor = torch.mean(rgb_img, dim=(1, 2), keepdim=True)
# rgb_img -= mean_tensor
# depth_img = self._tiled_camera.data.output["depth"].clone()
Expand Down

0 comments on commit c4dac33

Please sign in to comment.