- torch
- torchvision
- scipy
- PIL
- numpy
- tqdm
$ data
train
├── Images
├── Masks
valid
├── Images
├── Masks
test
├── Images
├── Masks
python train.py --mode train --train_data_dir /path-to-train_data --valid_data_dir /path-to-valid_data
python test.py --mode test --load_ckpt checkpoint --test_data_dir /path-to-test_data