# Decoupled Fast–Slow Adaptation (DFSA)
Temporary code for paper "**LEARNING FAST AND SLOW: ADDRESSING TASK IMBALANCED CONTINUAL LEARNING WITH DECOUPLED DUAL-SPEED ADAPTATION**"


## Environment Setup
```bash
conda create -n dfsa python=3.9 -y
conda activate dfsa
conda install pytorch==2.0.0 torchvision==0.15.0 torchaudio==2.0.0 pytorch-cuda=11.8 -c pytorch -c nvidia
pip install -r requirements.txt
```

## Run DFSA on CIFAR100-TICL dataset

```bash
# run DFSA on CIFAR100-TICL-Descending
python main.py

# run DFSA on CIFAR100-TICL-Ascending
python main.py reverse=True

# run DFSA on CIFAR100-TICL-Shuffled
python main.py shuffle=True
```
