Publish RACE ProGAN initialization checkpoints
Browse filesFiles changed (3)
- README.mdAdded+41
- base/seed-1.ptAdded+3
- base/seed-2.ptAdded+3
1234567891011121314151617181920212223242526272829303132333435363738394041---pretty_name: RACEpipeline_tag: image-classificationtags: - ai-generated-image-detection - continual-learning - pytorchdatasets: - nebula/GenStream---
# RACE
PyTorch checkpoints for *Online Continual AI-Generated Image Detection viaResidual Expert Adaptation*. RACE stands for Residual Adaptive Continual Experts.
Each checkpoint captures supervised ProGAN initialization at stage 0. The binaryclassification head was trained for two epochs with an ImageNet-21k pretrainedViT-B/16 backbone. The label mapping is `0` for real and `1` for fake.
| Seed | Checkpoint | SHA-256 || --- | --- | --- || 1 | [seed-1.pt](base/seed-1.pt) | `84cfc26a49f6de5dbd061314694c0e73deeb1edb2bfdb8d3cbf47985a0db8eb4` || 2 | [seed-2.pt](base/seed-2.pt) | `71a14faa999ad01754080f23235d55ddcfe3d9e08809d056a0118e12e156eda6` |
## Continue training
Run this example from the RACE main-experiment code directory with the[GenStream dataset](https://huggingface.co/datasets/nebula/GenStream) downloaded.
```bashhf 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 learningat stage 1.Use the checkpoint for the same seed as the run.123version https://git-lfs.github.com/spec/v1oid sha256:84cfc26a49f6de5dbd061314694c0e73deeb1edb2bfdb8d3cbf47985a0db8eb4size 344003555123version https://git-lfs.github.com/spec/v1oid sha256:71a14faa999ad01754080f23235d55ddcfe3d9e08809d056a0118e12e156eda6size 344003555README.mdAdded+41
base/seed-1.ptAdded+3
base/seed-2.ptAdded+3