# Online Test-time Adaptation

</details>

We encourage contributions! Pull requests to add methods are very welcome and appreciated.
First, clone the github repo.

## Prerequisites
To use the repository, we provide a conda environment.

```bash
cd TTA_public/classification
pip install -r requirements.txt
```

```bash
python test_time_new.py --cfg cfgs/cifar10_c/[tent/cotta/rotta/roid/bbn_tta].yaml fed.fed_tech [fedavg/fedavgm/pfedgraph/fedamp/fedbnstat] fed.client_num 10 fed.dirichlet_alpha 0.01 
```

```
bash scripts/run_fed_cifar10.sh
```
```
bash scripts/run_fed_cifar100.sh
```

