MCPcopy Create free account
hub / github.com/Robotics-STAR-Lab/H2-Mapping / log_debug_data

Method log_debug_data

mapping/src/loggers.py:70–72  ·  view source on GitHub ↗
(self, data, idx)

Source from the content-addressed store, hash-verified

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):

Callers 1

save_debug_dataMethod · 0.80

Calls 1

joinMethod · 0.80

Tested by

no test coverage detected