.
auto_modular_project/
├── data_loader.py # Handles dataset loading and preprocessing
├── model.py # Model definitions (CNN / Transformer / classifier)
├── train.py # Training and evaluation routines
├── utils.py # Helper utilities (metrics, visualization, etc.)
├── main.py # Entry point — runs the entire pipeline
├── requirements.txt # List of dependencies
Clone this repository and install dependencies:
git clone https://github.com/<your-username>/auto_modular_project.git
cd auto_modular_project
pip install -r requirements.txt✅ Requires: Python 3.8 or later
Run the full workflow:
python main.pyThis script will:
- Download and load the Pavia University hyperspectral dataset
- Perform data preprocessing and summarization
- Optionally train a model (if training code is defined)
- Visualize key results (spectral bands, class maps, etc.)
You can extend or modify the pipeline easily:
data_loader.py→ change dataset source or preprocessingmodel.py→ define your own architecture (CNN, ViT, etc.)train.py→ modify training logic, optimizer, or evaluation metricsutils.py→ add custom metrics or helper functions
Example:
from data_loader import load_pavia_data
from model import MyCustomModelDataset used: Pavia University Hyperspectral Image
MIT License © 2025 Jayant Biradar
Developed by Jayant Biradar
Converted and modularized using AI-assisted notebook parsing.