- google drive or 百度网盘
- it should be like
./datasets/GoPro/train/inputand./datasets/GoPro/train/target python scripts/data_preparation/gopro.pyto crop the train image pairs to 512x512 patches and make the data into lmdb format.
- google drive or 百度网盘
- it should be like
./datasets/GoPro/test/input.lmdband./datasets/GoPro/test/target.lmdb
-
NAFNet-GoPro-width32:
python -m torch.distributed.launch --nproc_per_node=8 --master_port=4321 basicsr/train.py -opt options/train/GoPro/NAFNet-width32.yml --launcher pytorch -
NAFNet-GoPro-width64:
python -m torch.distributed.launch --nproc_per_node=8 --master_port=4321 basicsr/train.py -opt options/train/GoPro/NAFNet-width64.yml --launcher pytorch -
Baseline-GoPro-width32:
python -m torch.distributed.launch --nproc_per_node=8 --master_port=4321 basicsr/train.py -opt options/train/GoPro/Baseline-width32.yml --launcher pytorch -
Baseline-GoPro-width64:
python -m torch.distributed.launch --nproc_per_node=8 --master_port=4321 basicsr/train.py -opt options/train/GoPro/Baseline-width64.yml --launcher pytorch -
8 gpus by default. Set
--nproc_per_nodeto # of gpus for distributed validation.
- NAFNet-GoPro-width32: google drive or 百度网盘
- NAFNet-GoPro-width64: google drive or 百度网盘
- Baseline-GoPro-width32: google drive or 百度网盘
- Baseline-GoPro-width64: google drive or 百度网盘
- NAFNet-GoPro-width32:
python -m torch.distributed.launch --nproc_per_node=1 --master_port=4321 basicsr/test.py -opt ./options/test/GoPro/NAFNet-width32.yml --launcher pytorch
- NAFNet-GoPro-width64:
python -m torch.distributed.launch --nproc_per_node=1 --master_port=4321 basicsr/test.py -opt ./options/test/GoPro/NAFNet-width64.yml --launcher pytorch
- Baseline-GoPro-width32:
python -m torch.distributed.launch --nproc_per_node=1 --master_port=4321 basicsr/test.py -opt ./options/test/GoPro/Baseline-width32.yml --launcher pytorch
- Baseline-GoPro-width64:
python -m torch.distributed.launch --nproc_per_node=1 --master_port=4321 basicsr/test.py -opt ./options/test/GoPro/Baseline-width64.yml --launcher pytorch
- Test by a single gpu by default. Set
--nproc_per_nodeto # of gpus for distributed validation.