├── LICENSE ├── README.md ├── dataset ├── __init__.py ├── aid_dataset.py ├── arad1k_dataset.py ├── base_dataset.py ├── cave_dataset.py ├── chikusei_dataset.py ├── harvard_dataset.py ├── paviac_dataset.py ├── resisc45_dataset.py ├── transforms.py └── wdcmall_dataset.py ├── degradation ├── __init__.py ├── gaussian_noise.py ├── img_downscale.py ├── stripe_mask.py ├── zero_mask.py └── zero_mask_2d.py ├── figs ├── fig1.png └── fig2.png ├── log ├── __init__.py └── log.py ├── loss ├── __init__.py └── loss.py ├── metrics ├── __init__.py └── metrics.py ├── model ├── __init__.py ├── conv.py ├── grayscale_model.py ├── inference.py ├── lora.py ├── mha.py └── vit.py ├── pretrained └── pretrained.txt ├── requirements.txt ├── test.py ├── train_config.py ├── train_hsi.py ├── train_rgb.py ├── trainer ├── __init__.py └── trainer.py ├── utils ├── __init__.py ├── imresize.py ├── norm.py └── svd.py └── your_own_datasets └── your_own_datasets.txt /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enter-i-username/EigenSR/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enter-i-username/EigenSR/HEAD/README.md -------------------------------------------------------------------------------- /dataset/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enter-i-username/EigenSR/HEAD/dataset/__init__.py -------------------------------------------------------------------------------- /dataset/aid_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enter-i-username/EigenSR/HEAD/dataset/aid_dataset.py -------------------------------------------------------------------------------- /dataset/arad1k_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enter-i-username/EigenSR/HEAD/dataset/arad1k_dataset.py -------------------------------------------------------------------------------- /dataset/base_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enter-i-username/EigenSR/HEAD/dataset/base_dataset.py -------------------------------------------------------------------------------- /dataset/cave_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enter-i-username/EigenSR/HEAD/dataset/cave_dataset.py -------------------------------------------------------------------------------- /dataset/chikusei_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enter-i-username/EigenSR/HEAD/dataset/chikusei_dataset.py -------------------------------------------------------------------------------- /dataset/harvard_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enter-i-username/EigenSR/HEAD/dataset/harvard_dataset.py -------------------------------------------------------------------------------- /dataset/paviac_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enter-i-username/EigenSR/HEAD/dataset/paviac_dataset.py -------------------------------------------------------------------------------- /dataset/resisc45_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enter-i-username/EigenSR/HEAD/dataset/resisc45_dataset.py -------------------------------------------------------------------------------- /dataset/transforms.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enter-i-username/EigenSR/HEAD/dataset/transforms.py -------------------------------------------------------------------------------- /dataset/wdcmall_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enter-i-username/EigenSR/HEAD/dataset/wdcmall_dataset.py -------------------------------------------------------------------------------- /degradation/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enter-i-username/EigenSR/HEAD/degradation/__init__.py -------------------------------------------------------------------------------- /degradation/gaussian_noise.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enter-i-username/EigenSR/HEAD/degradation/gaussian_noise.py -------------------------------------------------------------------------------- /degradation/img_downscale.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enter-i-username/EigenSR/HEAD/degradation/img_downscale.py -------------------------------------------------------------------------------- /degradation/stripe_mask.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enter-i-username/EigenSR/HEAD/degradation/stripe_mask.py -------------------------------------------------------------------------------- /degradation/zero_mask.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enter-i-username/EigenSR/HEAD/degradation/zero_mask.py -------------------------------------------------------------------------------- /degradation/zero_mask_2d.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enter-i-username/EigenSR/HEAD/degradation/zero_mask_2d.py -------------------------------------------------------------------------------- /figs/fig1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enter-i-username/EigenSR/HEAD/figs/fig1.png -------------------------------------------------------------------------------- /figs/fig2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enter-i-username/EigenSR/HEAD/figs/fig2.png -------------------------------------------------------------------------------- /log/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /log/log.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enter-i-username/EigenSR/HEAD/log/log.py -------------------------------------------------------------------------------- /loss/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /loss/loss.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enter-i-username/EigenSR/HEAD/loss/loss.py -------------------------------------------------------------------------------- /metrics/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enter-i-username/EigenSR/HEAD/metrics/__init__.py -------------------------------------------------------------------------------- /metrics/metrics.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enter-i-username/EigenSR/HEAD/metrics/metrics.py -------------------------------------------------------------------------------- /model/__init__.py: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /model/conv.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enter-i-username/EigenSR/HEAD/model/conv.py -------------------------------------------------------------------------------- /model/grayscale_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enter-i-username/EigenSR/HEAD/model/grayscale_model.py -------------------------------------------------------------------------------- /model/inference.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enter-i-username/EigenSR/HEAD/model/inference.py -------------------------------------------------------------------------------- /model/lora.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enter-i-username/EigenSR/HEAD/model/lora.py -------------------------------------------------------------------------------- /model/mha.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enter-i-username/EigenSR/HEAD/model/mha.py -------------------------------------------------------------------------------- /model/vit.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enter-i-username/EigenSR/HEAD/model/vit.py -------------------------------------------------------------------------------- /pretrained/pretrained.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enter-i-username/EigenSR/HEAD/pretrained/pretrained.txt -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enter-i-username/EigenSR/HEAD/requirements.txt -------------------------------------------------------------------------------- /test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enter-i-username/EigenSR/HEAD/test.py -------------------------------------------------------------------------------- /train_config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enter-i-username/EigenSR/HEAD/train_config.py -------------------------------------------------------------------------------- /train_hsi.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enter-i-username/EigenSR/HEAD/train_hsi.py -------------------------------------------------------------------------------- /train_rgb.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enter-i-username/EigenSR/HEAD/train_rgb.py -------------------------------------------------------------------------------- /trainer/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /trainer/trainer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enter-i-username/EigenSR/HEAD/trainer/trainer.py -------------------------------------------------------------------------------- /utils/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enter-i-username/EigenSR/HEAD/utils/__init__.py -------------------------------------------------------------------------------- /utils/imresize.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enter-i-username/EigenSR/HEAD/utils/imresize.py -------------------------------------------------------------------------------- /utils/norm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enter-i-username/EigenSR/HEAD/utils/norm.py -------------------------------------------------------------------------------- /utils/svd.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enter-i-username/EigenSR/HEAD/utils/svd.py -------------------------------------------------------------------------------- /your_own_datasets/your_own_datasets.txt: -------------------------------------------------------------------------------- 1 | --------------------------------------------------------------------------------