This is the official code for the paper 'Reciprocal Transformer for Hyperspectral and Multispectral Image Fusion'.
To train the model, run the following command.
CUDA_VISIBLE_DEVICES=0,1 python -m torch.distributed.launch --nproc_per_node=2 main.py
To experiment with saved model checkpoints, run the following command. Download the checkpoint from this link: Google Drive. Please place the trained model in the 'TrainedNet' folder.
CUDA_VISIBLE_DEVICES=0,1 python -m torch.distributed.launch --nproc_per_node=2 main.py --mode 0 --nEpochs 200