Download and save datasets.
- Cityscapes: put
leftImg8bit_sequence
andgtFine
in the same folder. - Camvid
- NYUDepthV2 (~14GB)
Download the pretained models for subnetworks, and put them into ./pretrained
.
- td2_fa18: takes two FANet-18 as subnetworks.
- td2_psp50: takes two PSPNet-50 as subnetworks.
- td4_psp18: takes four PSPNet-18 as subnetworks.
Modify *.yml
files in ./config
- ''data:path'': path to dataset
- ''training:batch_size'': batch_size
- ''training:train_augmentations:rcrop'': input size for training
Run
CUDA_VISIBLE_DEVICES=0,1,2,3,4,5,6,7 python train.py --config configs/*.yml
Still working on this implementation.