pgc / README.md
aiorscam's picture
Add files using upload-large-folder tool
e98fd30 verified
|
Raw
History Blame Contribute Delete
1.37 kB
metadata
library_name: transformers
tags:
  - image-classification
  - ai-generated-image-detection
  - dinov2
  - pgc
license: other

AiorScam PGC Deployment Mirror

This repository mirrors the assets needed by the aiorscam/pgc-inference dedicated endpoint implementation.

Sources

Layout

checkpoints/
  PGC_train_sdv1_4_ckpt.pth
  PGC_train_progan_ckpt.pth
  PGC_train_progan_sdv1_4_ckpt.pth
dinov2-large/
  config.json
  model.safetensors
  preprocessor_config.json

Endpoint Configuration

The default endpoint variant is the joint PGC checkpoint:

PGC_VARIANT=progan_sdv1_4
PGC_CHECKPOINT_DIR=/repository/checkpoints
PGC_DINO_PRETRAINED_ROOT=/repository
PGC_FAKE_THRESHOLD=0.5
PGC_REAL_THRESHOLD=0.5

Supported variants are sdv1_4, progan, and progan_sdv1_4.

Notes

PGC is a promptless binary real/synthetic image detector. The deployed endpoint does not send or synthesize text prompts; parity with the author implementation comes from the DINOv2 preprocessing path, checkpoint selection, and binary decision threshold.