Active Generation for Image Classification

February 25, 2025 ยท View on GitHub

Official implementation for paper "Active Generation for Image Classification", ECCV 2024.

ImageNet / CIFAR Classification

Please see classification/README.md for environment setup.

Training command

cd classification
sh tools/dist_train.sh 8 ${CONFIG} ${MODEL} --experiment ${EXP_NAME} --gen_images

For example, for ViT-S/16, the MODEL should be timm_vit_small_patch16_224, CONFIG should be configs/strategies/ActGen/imagenet/vit_s_16.yaml.

Tips for understanding the code