Open lucasbrynte opened 6 years ago
@meetshah1995 I will take a look into this, but have som doubts. Taking a look at the existing dataloaders, there seems to be a mix of using either torch.utils.data.Dataset or torch.utils.data.DataLoader.
data.Dataset is just a class representing a Dataset. and data.DataLoader combines a dataset and a sampler, and provides single- or multi-process iterators over the dataset. More here
You could simply use the cityscapes loader as a starting point and modify that for Mapillary (Cool dataset btw ! ).
Implement dataloader for the Mapillary Vistas dataset: https://blog.mapillary.com/product/2017/05/03/mapillary-vistas-dataset.html