- google drive or 百度网盘
- it should be like
./datasets/GoPro/train/input
and./datasets/GoPro/train/target
python scripts/data_preparation/gopro.py
to 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.lmdb
and./datasets/GoPro/test/target.lmdb
-
Model
python -m torch.distributed.launch --nproc_per_node=8 --master_port=4321 basicsr/train.py -opt options/train/GoPro/your_model.yml --launcher pytorch
-
8 gpus by default. Set
--nproc_per_node
to # of gpus for distributed validation.
-
Model
python -m torch.distributed.launch --nproc_per_node=1 --master_port=4321 basicsr/test.py -opt ./options/test/GoPro/your_model.yml --launcher pytorch
-
Test by a single gpu by default. Set
--nproc_per_node
to # of gpus for distributed validation.