SPFusion: A Lightweight Multi-Modality Deep Learning Model for Red Clump Stars Parameters Estimation
-
Clone the source code from Github
git clone https://github.com/qintianjian-lab/SPFusion.git cd SPFusion
-
Create Python environment via Conda
conda create -n spfusion python=3.9 conda activate spfusion
-
Install dependencies
pip install -r requirements.txt
See more configuration in config/config.py
.ckpt
format for PyTorch: weights.ckpt.onnx
format for ONNX: model.onnx
├── DATASET
│ ├── fold 1
│ │ ├── train
│ │ │ ├── spectrum
│ │ │ │ ├── xxx.npy
│ │ │ │ ├── yyy.npy
│ │ │ │ └── ...
│ │ │ ├── photometric
│ │ │ │ ├── xxx.npy
│ │ │ │ ├── yyy.npy
│ │ │ │ └── ...
│ │ │ └── label
│ │ │ └── label.csv
│ │ ├── val
│ │ │ ├── spectrum
│ │ │ │ ├── xxx.npy
│ │ │ │ ├── yyy.npy
│ │ │ │ └── ...
│ │ │ ├── photometric
│ │ │ │ ├── xxx.npy
│ │ │ │ ├── yyy.npy
│ │ │ │ └── ...
│ │ │ └── label
│ │ │ └── label.csv
│ │ └── test
│ │ ├── spectrum
│ │ │ ├── xxx.npy
│ │ │ ├── yyy.npy
│ │ │ └── ...
│ │ ├── photometric
│ │ │ ├── xxx.npy
│ │ │ ├── yyy.npy
│ │ │ └── ...
│ │ └── label
│ │ └── label.csv
│ ├── fold 2
│ │ ├── ...
│ ├── fold 3
│ │ ├── ...
└── ...
// In prep.