Views
No views yet
MetaCLIP-LinearMetaCLIP2-LinearSigLIP-LinearSigLIP2-LinearPE-CLIP-LinearDINOv2-LinearDINOv3-Linearmodels.py: unified model-loading code for all 7 baselinestest_vfm_baselines.py: unified evaluation scriptweights/: released checkpointscore/vision_encoder/: vendored PE vision encoder code required by PE-CLIP-Linearmetacliplinmetaclip2linsigliplinsiglip2linpelindinov2lindinov3linMetaCLIP-Linear and DINOv3-Linear are also accepted.1python test_vfm_baselines.py \
2 --model sigliplin \
3 --real-dir /path/to/0_real \
4 --fake-dir /path/to/1_fake \
5 --max-samples 1001python test_vfm_baselines.py \
2 --model all \
3 --real-dir /path/to/0_real \
4 --fake-dir /path/to/1_fake \
5 --max-samples 100--checkpoint: override the default checkpoint for single-model evaluation--batch-size: batch size for evaluation--num-workers: dataloader workers--device: explicit device such as cuda:0 or cpu--save-json: save results to a JSON filetorchtorchvisiontransformersscikit-learnPillowtimmeinopsftfyregexhuggingface_hubPE-CLIP-Linear uses the vendored core/vision_encoder code in this directory.weights/ are arranged locally for packaging convenience. For public release, they can be uploaded as the same filenames.