Skip to content

Pytorch dataloaders for Cityscapes, SUNRGBD, Scenenet, and COCO

License

Notifications You must be signed in to change notification settings

crmauceri/dataset_loaders

Repository files navigation

pytorch-dataloaders

Introduction

  • Load RGB-D datasets Cityscapes, COCO, SUNRGBD, and SceneNetRGBD
  • Optional RGB-D network input using 4th channel in first convolutional layer
  • YACS configuration files

Based on data loading code from jfzhang95/pytorch-deeplab-xception

Installation

The code was tested with Anaconda and Python 3.8. After installing the Anaconda environment:

  1. Clone the repo:

    git clone https://github.com/crmauceri/dataset_loaders.git
    cd dataset_loaders
  2. Install dependencies:

    For PyTorch dependency, see pytorch.org for more details.

    Other dependencies:

    conda install matplotlib pillow tqdm protobuf scipy numpy
    pip install yacs

    Coco tools

    conda install -c conda-forge pycocotools scikit-image
  3. Compile SceneNetRGBD protobuf files

    cd dataloaders/datasets
    make
  4. Install as module:

    cd $root
    pip install -e .

Visualization

Jupyter notebook COCO_Data_Browser.ipynb is provided for visualizing data and trained network results.

About

Pytorch dataloaders for Cityscapes, SUNRGBD, Scenenet, and COCO

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published