Downloads · 30 days
0
Jarvis-E-909/tracelens-detector
tracelens-detector is a image classification model from Jarvis-E-909. Use it when you need a label for an image. It is set up for onnx. The card lists the license as mit.
Binary classifier that estimates the probability that an image is AI generated. It powers the F1 (classifier) and F2 (Grad-CAM) modules of TraceLens (add your GitHub link), an explainable image forensics tool that com…
Downloads · 30 days
0
Access
Public
Updated Sep 23, 2026
Repo size
16 MB
Likes
0
Public
Click a slice to open those files.
.onnx16 MB · 100%
From the Hugging Face model README
Binary classifier that estimates the probability that an image is AI generated. It powers the F1 (classifier) and F2 (Grad-CAM) modules of TraceLens (add your GitHub link), an explainable image forensics tool that combines this model with Error Level Analysis, noise analysis and C2PA/EXIF provenance checks.
| File | Contents |
|---|---|
tracelens.onnx | EfficientNet-B0 with two outputs: logit [N] (positive = AI) and cam [N, 7, 7] (Grad-CAM) |
model_meta.json | Input size, normalisation, calibration temperature, evaluation metrics |
fft_baseline.json | Logistic regression on FFT radial spectrum (baseline and fallback) |
evaluation.json / evaluation.md | Full evaluation results |
Triage support for analysts (claims, fraud, trust and safety, journalism, digital forensics) who must decide whether an image is authentic and explain that decision. Output is probabilistic evidence and must be reviewed by a person.
Out of scope: sole basis for legal, employment, insurance or moderation decisions; video or audio; identifying people.
Fill in after training. Planned mix: CIFAKE (baseline), a GenImage subset covering several generators (main training set), and a self-made holdout set of images from a free open model plus the author's own phone photos, never used in training.
efficientnet_b0, ImageNet-pretrained, single-logit head, AdamW, cosine schedule, AMPResize so the shorter side is 224 (bicubic), take 224×224 crops along the long side (up to 3),
scale to [0, 1], normalise with ImageNet mean/std, run the model, divide logits by the
temperature, apply sigmoid, average across crops. See backend/app/forensics/classifier.py.
Fill in from evaluation.md.
| Set | N | Accuracy | AUC | F1 | ECE |
|---|---|---|---|---|---|
| Held-out test | |||||
| Unseen generators | |||||
| Own holdout | |||||
| Test, JPEG q50 | |||||
| Test, 50% downscale |
TraceLens gives probabilistic evidence, not proof. It should support human judgment, never replace it, especially when someone's reputation or money is at stake.