## Installation

**Requirements**

* Python 3.8
* torch 2.0.0
* torchvision 0.15.0


## Dataset Preparation
* [CIFAR-10 & CIFAR-100](https://www.cs.toronto.edu/~kriz/cifar.html)
* [ImageNet](http://image-net.org/index)
* [iNaturalist 2018](https://www.inaturalist.org/)

`The Long-tailed setting of inaturalist and imagenet` can be found in `dataset/dataset_txt/`.

## Training

```
python train.py
```

`The training setting of Datasets` can be found in `config/cifar10`,  `config/cifar100`, `config/inaturalist` and `config/imagenet`.


## Output
```
SCCP
├── saved
│   ├── modelname_date
│   │   ├── ckps
│   │   │   ├── current.pth.tar
│   │   │   └── model_best.pth.tar
│   │   └── logs
│   │       └── modelname.txt
│   ...   
```