ImageDataset

class packnet_sfm.datasets.image_dataset.ImageDataset(root_dir, split, data_transform=None, forward_context=0, back_context=0, strides=1, depth_type=None, **kwargs)[source]

Bases: torch.utils.data.dataset.Dataset

packnet_sfm.datasets.image_dataset.dummy_calibration(image)[source]
packnet_sfm.datasets.image_dataset.get_idx(filename)[source]
packnet_sfm.datasets.image_dataset.read_files(directory, ext='.png', '.jpg', '.jpeg', skip_empty=True)[source]