# This is the code for the submission *Synthesizing Minority Samples for Long-tailed Classification via Distribution Matching*

## 1. Prepare for the environment
```
pip install torch
pip install tqdm
pip install scikit-learn
```

## 2. Prepare for the data
Please download CIFAR-10 and CIFAR-100, and put them into the folder *data/*.


## 3. How to run

For CIFAR-10 with imbalance factor=100,
```
bash train.sh
```
