Update README.md
Browse files
README.md
CHANGED
|
@@ -1,25 +1,20 @@
|
|
| 1 |
---
|
| 2 |
license: agpl-3.0
|
| 3 |
-
library_name: ultralytics
|
| 4 |
pipeline_tag: object-detection
|
| 5 |
tags:
|
| 6 |
-
- counting
|
| 7 |
-
- hallucination
|
| 8 |
-
- hands
|
| 9 |
- yolo
|
|
|
|
|
|
|
| 10 |
---
|
| 11 |
|
| 12 |
# CountHallu — RealHand Counting Model
|
| 13 |
|
| 14 |
Finger detector from **[Counting Hallucinations in Diffusion Models](https://arxiv.org/abs/2510.13080)**
|
| 15 |
-
(arXiv:2510.13080).
|
| 16 |
-
finetuned on [RealHand](https://huggingface.co/datasets/ShyFoo/CountHallu-dataset-RealHand),
|
| 17 |
-
so the evaluation can flag hands with the wrong number of fingers as counting
|
| 18 |
-
hallucinations.
|
| 19 |
|
| 20 |
## Architecture & checkpoint
|
| 21 |
|
| 22 |
-
- An **Ultralytics YOLO** object detector, ships a single `model.pt`.
|
| 23 |
- One class, **`0 = finger`**; a correct hand has exactly **5** detected fingers.
|
| 24 |
- Inference settings used in the paper: `imgsz=640, conf=0.25, iou=0.1`.
|
| 25 |
|
|
@@ -27,15 +22,7 @@ hallucinations.
|
|
| 27 |
> quality classifier
|
| 28 |
> [`CountHallu-quality_cls_model-RealHand`](https://huggingface.co/ShyFoo/CountHallu-quality_cls_model-RealHand),
|
| 29 |
> which filters out non-countable (visually failed) images; only clean images reach
|
| 30 |
-
> this finger detector. You need both models to
|
| 31 |
-
|
| 32 |
-
## License
|
| 33 |
-
|
| 34 |
-
This detector is trained with **Ultralytics YOLO**, which is **AGPL-3.0**. The
|
| 35 |
-
weights are therefore released under **AGPL-3.0** — note this differs from the
|
| 36 |
-
Apache-2.0 license of the rest of the CountHallu project.
|
| 37 |
-
<!-- TODO: confirm the exact Ultralytics YOLO version used, and that AGPL-3.0 is
|
| 38 |
-
the intended license for these weights. -->
|
| 39 |
|
| 40 |
## Usage
|
| 41 |
|
|
@@ -60,6 +47,10 @@ model, model_type, ref_counts, target_classes = load_counting_model(
|
|
| 60 |
|
| 61 |
See the [CountHallu repository](<https://github.com/ShyFoo/CountHallu-Diff>) for the full evaluation protocol.
|
| 62 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 63 |
## Citation
|
| 64 |
|
| 65 |
```bibtex
|
|
|
|
| 1 |
---
|
| 2 |
license: agpl-3.0
|
|
|
|
| 3 |
pipeline_tag: object-detection
|
| 4 |
tags:
|
|
|
|
|
|
|
|
|
|
| 5 |
- yolo
|
| 6 |
+
- finger
|
| 7 |
+
- detection
|
| 8 |
---
|
| 9 |
|
| 10 |
# CountHallu — RealHand Counting Model
|
| 11 |
|
| 12 |
Finger detector from **[Counting Hallucinations in Diffusion Models](https://arxiv.org/abs/2510.13080)**
|
| 13 |
+
(arXiv:2510.13080). A YOLO-based detector is used to count fingers in generated/real hand images, enabling the evaluation to flag hands with an incorrect number of fingers as counting hallucinations.
|
|
|
|
|
|
|
|
|
|
| 14 |
|
| 15 |
## Architecture & checkpoint
|
| 16 |
|
| 17 |
+
- An **Ultralytics YOLO-v13** object detector, ships a single `model.pt`.
|
| 18 |
- One class, **`0 = finger`**; a correct hand has exactly **5** detected fingers.
|
| 19 |
- Inference settings used in the paper: `imgsz=640, conf=0.25, iou=0.1`.
|
| 20 |
|
|
|
|
| 22 |
> quality classifier
|
| 23 |
> [`CountHallu-quality_cls_model-RealHand`](https://huggingface.co/ShyFoo/CountHallu-quality_cls_model-RealHand),
|
| 24 |
> which filters out non-countable (visually failed) images; only clean images reach
|
| 25 |
+
> this finger detector. You need both models to calculate the counting hallucination rates in the RealHand dataset.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 26 |
|
| 27 |
## Usage
|
| 28 |
|
|
|
|
| 47 |
|
| 48 |
See the [CountHallu repository](<https://github.com/ShyFoo/CountHallu-Diff>) for the full evaluation protocol.
|
| 49 |
|
| 50 |
+
## License
|
| 51 |
+
|
| 52 |
+
This detector is trained with **Ultralytics YOLO-v13** on the [CountHallu-RealHand](https://huggingface.co/datasets/ShyFoo/CountHallu-dataset-RealHand) dataset, which is **AGPL-3.0**.
|
| 53 |
+
|
| 54 |
## Citation
|
| 55 |
|
| 56 |
```bibtex
|