RACE
PyTorch checkpoints for Online Continual AI-Generated Image Detection via Residual Expert Adaptation. RACE stands for Residual Adaptive Continual Experts.
Online checkpoints
| Protocol | Seed | Checkpoint | Frozen backbone |
|---|---|---|---|
| GenStream-10 | 1 | Checkpoint | ViT-B/16 |
| GenStream-10 | 2 | Checkpoint | ViT-B/16 |
| GenStream-10 | 3 | Checkpoint | ViT-B/16 |
| GenStream-20 | 1 | Checkpoint | ViT-B/16 |
| GenStream-20 | 2 | Checkpoint | ViT-B/16 |
| GenStream-20 | 3 | Checkpoint | ViT-B/16 |
Each online checkpoint contains the trained expert bank, the routing state, and the run configuration. Checkpoints for the same seed reference the same backbone. Keep the relative file paths when loading them with the RACE evaluation code.
hf download nebula/RACE \
online/seed-1/checkpoints/genstream-10.pt \
online/seed-1/frozen_backbone.pt \
--local-dir race-checkpoints
ProGAN initialization checkpoints
Each checkpoint captures supervised ProGAN initialization at stage 0. The binary
classification head was trained for two epochs with an ImageNet-21k pretrained
ViT-B/16 backbone. The label mapping is 0 for real and 1 for fake.
| Seed | Checkpoint | SHA-256 |
|---|---|---|
| 1 | seed-1.pt | 84cfc26a49f6de5dbd061314694c0e73deeb1edb2bfdb8d3cbf47985a0db8eb4 |
| 2 | seed-2.pt | 71a14faa999ad01754080f23235d55ddcfe3d9e08809d056a0118e12e156eda6 |
Continue training
Run this example from the RACE main-experiment code directory with the GenStream dataset downloaded.
hf download nebula/RACE base/seed-1.pt --local-dir race-checkpoints
CUDA_VISIBLE_DEVICES=0 python main.py \
--method race --protocol 10 --seed 1 --data-root /path/to/GenStream \
--base-checkpoint race-checkpoints/base/seed-1.pt
The run loads the completed supervised base stage and starts online learning at stage 1. Use the checkpoint for the same seed as the run.