RRCGAN:A Radiometric Resolution Compression Method for Optical Remote Sensing Images Using Contrastive Learning
- Linux or macOS
- Python 3
- CPU or NVIDIA GPU + CUDA CuDNN
- 5/5/2024: Added related codes.
- 12/24/2024: Added GF2 dataset.
- Train the RRCGAN model:
python train.py --dataroot XXX --name XXX
- Test the RRCGAN model:
python test.py --dataroot XXX --name XXX
All the data mentioned in the article, eg. JL1,GF7,GF2, has been uploaded to Baidu Cloud, link is: https://pan.baidu.com/s/1VOeaoqv50KVqbpiXJs5WwQ(thkn) .The dataset example is as follows:
Our code is developed based on contrastive-unpaired-translation and Hneg_SRC . We also thank pytorch-fid for FID computation.