Practical overview
When it fits
Use SSRN when you need a research implementation and example scripts for supervised hyperspectral classification, especially to study the documented Indian Pines or University of Pavia workflows.
Who it is for
- Researchers working on supervised hyperspectral image classification.
- Practitioners reproducing or adapting the documented Indian Pines and University of Pavia workflows.
- Developers comparing the TensorFlow/Keras implementation with the separately referenced PyTorch SSRN in SSTN.
Documented uses
- Train an SSRN model on the repository’s Indian Pines or University of Pavia examples.
- Evaluate saved trained models for those datasets.
- Generate final classification maps for the corresponding examples.
- Inspect a 3D spectral-spatial residual-network approach that uses raw hyperspectral cubes without feature engineering.
Requirements & limits
The repository is public and provides a code download link. No license is specified in the repository evidence.
- The implementation is described as TensorFlow 1.3 and Keras 2.0 based, with Anaconda 2.7 listed as a prerequisite.
- Training, saved-model evaluation and classification-map scripts are documented for Indian Pines and University of Pavia.
- The repository references SSTN as a separate PyTorch implementation with SSRNs for KSC, PC, Indian Pines and University of Pavia; direct compatibility with this repository is not established.
- Reported dataset results use particular training-sample proportions and should be read as experiment-specific results.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Train, evaluate and map Indian Pines or University of Pavia
Follow the repository’s documented workflow for training an SSRN model, evaluating its saved model and producing a classification map for either supported example dataset.
Before you start
- Anaconda 2.7
- TensorFlow 1.3
- Keras 2.0
- Packages listed in the repository’s package-list.txt
- The corresponding hyperspectral imagery datasets and correctly configured file paths
Steps
Create a conda environment and check that it includes the packages in package-list.txt.
Run python ./SSRN_IN.py or python ./SSRN_UP.py to train on Indian Pines or University of Pavia.
Run the corresponding saved-model evaluator: python ./Load_Models/Load_IN.py or python ./Load_Models/Load_UP.py.
Generate a classification map with the matching script under Classification Maps: IN_classification_maps.py or UP_classification_maps.py.
Expected outcome
A trained model can be evaluated with the repository’s saved-model scripts, followed by a classification map for the selected example dataset.
Guide limitations
- The documented scripts cover Indian Pines and University of Pavia; other dataset workflows are not specified for this implementation.
- The README advises checking paths and changing them to absolute paths if file or directory errors occur.
- The README lists Anaconda 2.7, TensorFlow 1.3 and Keras 2.0 as prerequisites.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 28 November 2026
- Original website title
- zilongzhong/SSRN · Official homepage title · retained in its source language
Related options
SSTN — A separate repository referenced by SSRN that contains PyTorch SSRN implementations for KSC, PC, Indian Pines and University of Pavia. The SSRN repository does not establish direct

