The pytorch code of hyperspectral image super-resolution method MSDformer.
- Python 3.6.13
- Pytorch 1.8.
To get the training set, validation set and testing set, refer to SSPSR to download the mcodes for cropping the hyperspectral image.
To train MSDformer, run the following command.
sh demo.sh
run the the following command.
sh test_demo.sh