ivankreso / ladder-densenet

MIT License
33 stars 15 forks source link

Dataset preparation

  1. Add this repository to your PYTHONPATH variable:

    PYTHONPATH=$PYTHONPATH:/path/to/fork
  2. Run script:

    • for Cityscapes: Download the dataset here.
cd datasets/cityscapes
python prepare_dataset.py --data_dir=/path/to/data --gt_dir=/path/to/labels --save_dir=/path/to/save
cd datasets/voc2012
python prepare_dataset.py --data_dir=/path/to/data --save_dir=/path/to/save

Training

Evaluation

For evaluation please refer to the new version of the repository:

https://github.com/ivankreso/LDN