chengerr / Model-Guided-Deep-Hyperspectral-Image-Super-resolution

Code of paper "Model-Guided Deep Hyperspectral Image Super-resolution"

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MoG-DCN

This repository contains the Pytorch codes of paper "Model-Guided Deep Hyperspectral Image Super-resolution"

Using sf=8 and trined /tested on CAVE as an example ,I will introduce the usage of this code
Download CAVE , Harvard and WV2

Prepare the training data and the test data

  1. Divide the dataset for training and testing respectively
  2. put training data and testing data in .mat format in corresponding folders
  3. run creat_pathlist.py to create *.txt ,for example './pathlist/datalist_NSSR_P.txt'
  4. By the way , you can change the Data reading method by changing ./*/clean_dataset.py

train

Run ./sf_8_CAVE/train.py

test

Run ./sf_8_CAVE/tst.py

Contact

Weisheng Dong, Email: wsdong@mail.xidian.edu.cn
Chen Zhou, Email: zhouchen_7@163.com

About

Code of paper "Model-Guided Deep Hyperspectral Image Super-resolution"


Languages

Language:Python 83.5%Language:MATLAB 16.5%