(self, data, idx)
| 68 | np.save(osp.join(self.misc_dir, f"{name}.npy"), data) |
| 69 | |
| 70 | def log_debug_data(self, data, idx): |
| 71 | with open(os.path.join(self.misc_dir, f"scene_data_{idx}.pkl"), 'wb') as f: |
| 72 | pickle.dump(data, f) |
| 73 | |
| 74 | def log_raw_image(self, ind, rgb, depth): |
| 75 | if isinstance(rgb, torch.Tensor): |