DL-Art-School/codes/run_scripts.sh
XintaoWang 037933ba66 mmsr
2019-08-23 21:42:47 +08:00

10 lines
514 B
Bash

# single GPU training (image SR)
python train.py -opt options/train/train_SRResNet.yml
python train.py -opt options/train/train_SRGAN.yml
python train.py -opt options/train/train_ESRGAN.yml
# distributed training (video SR)
# 8 GPUs
python -m torch.distributed.launch --nproc_per_node=8 --master_port=4321 train.py -opt options/train/train_EDVR_woTSA_M.yml --launcher pytorch
python -m torch.distributed.launch --nproc_per_node=8 --master_port=4321 train.py -opt options/train/train_EDVR_M.yml --launcher pytorch