This repo contains the code for our paper Galaxy Image Classification using Hierarchical Data Learning with Weighted Sampling and Label Smoothing.
- numpy==1.19.5
- matplotlib==3.2.1
- tqdm==4.56.0
- torch>=1.7.1
- torchvision>=0.8.2
- Selecting clean data from the original data downloaded from https://www.kaggle.com/competitions/galaxy-zoo-the-galaxy-challenge/data.
select cleandata.py
- Training the models without HIWL
train_dieleman.py
train_vgg.py
train_googlenet.py
train_resnet26.py
train_resnet.py
train_efficientnet.py
train_vit.py
- Training the models with HIWL
train_dieleman.py
train_vgg.py
train_googlenet.py
train_resnet26.py
train_resnet.py
train_efficientnet.py
train_vit.py
- Training a new model:
- Selecting cleandata
- training new model from scheme or noscheme
python select cleandata.py
python train_efficientnet.py
- If you found this code useful please cite our paper: