def get_depth_image(self, idx): assert idx < self.num_samples img_filename = os.path.join(self.depth_dir, "%06d.png" % (idx)) return utils.load_depth(img_filename)
def get_depth(self, idx): idx = self.sample_ids[idx] img_filename = os.path.join(self.depth_dir, "%06d.png" % (idx)) return utils.load_depth(img_filename)
def get_depth(self, idx): assert (idx < self.num_samples) img_filename = os.path.join(self.depth_dir, '%06d.png' % (idx)) return utils.load_depth(img_filename)
def get_depth_image(self, idx): # assert idx < self.num_samples img_filename = os.path.join(self.depth_dir, f"{self.index_format}.png" % (idx)) return utils.load_depth(img_filename)