Skip to content
/ TUI Public

The official repository of TUI: A Conformal Uncertainty Indicator for Continual Test-Time Adaptation

License

Notifications You must be signed in to change notification settings

RenshengJi/TUI

Repository files navigation

TUI: A Conformal Uncertainty Indicator for Continual Test-Time Adaptation

Official code for A Conformal Uncertainty Indicator for Continual Test-Time Adaptation. Here, we use the CIFAR10-C dataset as an example to introduce the usage of the code.

Prerequisite

Please create and activate the following conda envrionment. To reproduce our results, please kindly create and use this environment.

# It may take several minutes for conda to solve the environment
conda update conda
conda env create -f environment.yml
conda activate tui

Datasets

Please download the dataset CIFAR10-C to any path by yourself, and fill in the path in _C.DATA_DIR in conf.py.

Test

python test_time.py --cfg ./cfgs/cifar10_c/CPCTTA.yaml --gpu 0 --CP_method "TUI" --CP_alpha 0.2

About

The official repository of TUI: A Conformal Uncertainty Indicator for Continual Test-Time Adaptation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages