Home

Awesome

Active-Negative-Loss-Functions

Requirements

python >= 3.9, torch >= 1.12.1, torchvision >= 0.13.1, numpy >= 1.23.1

How to use

Configs

Check '*.json' file in the config folder for each exeriment.

Arguments

Example

Training ANL-CE on CIFAR-10 with 0.8 symmetric noise:

python main.py \
--gpu 0 \
--seed 1 \
--config cifar10_anl_ce \
--noise_type sym \
--noise_rate 0.8 \
--eval_freq 10

Thanks

Moreover, we thank the codes implemented by Ma et al. and Zhou et al..