Tensorflow 2.0 h5py
Download the file through Git or directly download the zip file:
git clone https://github.com/Chesterhuang1999/Tensor-FISTA-Net.git
The training, testing and mask data can be download through Baidu Drive.(Key:gsni)
- Open DefineParam.py and change the variable 'name' into 'Kobe' / 'Park' / 'Vehicle'.
- Open the directory 'maskData' and rename the mask for CACTI from 'mask_cacti.mat' to 'mask256.mat'
- Train the model through
python Train.py
- Open DefineParam.py and change the variable 'name' into 'Spectral'
- Open the directory 'maskData' and rename the mask for CASSI from 'mask_cassi.mat' to 'mask256.mat'
- Train the model through
python Train.py
- Open DefineParam.py and change the variable 'name' into 'Kobe' / 'Park' / 'Vehicle'.
- Open the directory 'maskData' and rename the mask for CACTI from 'mask_cacti.mat' to 'mask256.mat'
- Test the model through
python Reconstruction.py
- Open DefineParam.py and change the variable 'name' into 'Spectral'
- Open the directory 'maskData' and rename the mask for CASSI from 'mask_cassi.mat' to 'mask256.mat'
- Test the model through
python Reconstruction.py