The training experiment are conducted using PyTorch with two NVIDIA 4090 GPUs.
- Ubuntu 22.04
- Python 3.8
- PyTorch 2.0.1
- CUDA 11.7+
- causal_conv1d 1.0.0
- opencv-python
- mamba_ssm 1.0.1
Note: It may also work with other versions.
- Training Dataset:
- Testing Datasets:
conda env create -f MTSR.yml
conda activate MTSRPretrained models are available in the Releases.
- Cropped input size: 64×64
- GPUs: 2
- Batch size: 16 per GPU
python -m torch.distributed.launch --nproc_per_node=2 --master_port=1234 basicsr/train.py -opt options/train/train_MTSR_x2.yml --launcher pytorch
python -m torch.distributed.launch --nproc_per_node=2 --master_port=1234 basicsr/train.py -opt options/train/train_MTSR_x3.yml --launcher pytorch
python -m torch.distributed.launch --nproc_per_node=2 --master_port=1234 basicsr/train.py -opt options/train/train_MTSR_x4.yml --launcher pytorchpython basicsr/test.py -opt options/test/test_MTSR_x2.yml
python basicsr/test.py -opt options/test/test_MTSR_x3.yml
python basicsr/test.py -opt options/test/test_MTSR_x4.ymlThis project is released under the Apache 2.0 license.
This project is based on BasicSR and MambaIR.
Thanks to the authors for their outstanding contributions.



