Spaces:
Running
Running
Uploading Trashify box detection model v3 app.py with NMS post processing
Browse files
README.md
CHANGED
@@ -18,8 +18,16 @@ Used as example for encouraging people to cleanup their local area.
|
|
18 |
|
19 |
If `trash`, `hand`, `bin` all detected = +1 point.
|
20 |
|
21 |
-
|
22 |
-
|
23 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
24 |
|
25 |
TK - finish the README.md + update with links to materials
|
|
|
18 |
|
19 |
If `trash`, `hand`, `bin` all detected = +1 point.
|
20 |
|
21 |
+
## Dataset
|
22 |
+
|
23 |
+
All Trashify models are trained on a custom hand-labelled dataset of people picking up trash and placing it in a bin.
|
24 |
+
|
25 |
+
The dataset can be found on Hugging Face as [`mrdbourke/trashify_manual_labelled_images`](https://huggingface.co/datasets/mrdbourke/trashify_manual_labelled_images).
|
26 |
+
|
27 |
+
## Demos
|
28 |
+
|
29 |
+
* [V1](https://huggingface.co/spaces/mrdbourke/trashify_demo_v1) = Fine-tuned DETR model trained *without* data augmentation.
|
30 |
+
* [V2](https://huggingface.co/spaces/mrdbourke/trashify_demo_v2) = Fine-tuned DETR model trained *with* data augmentation.
|
31 |
+
* [V3](https://huggingface.co/spaces/mrdbourke/trashify_demo_v3) = Fine-tuned DETR model trained *with* data augmentation (same as V2) with an NMS (Non Maximum Suppression) post-processing step.
|
32 |
|
33 |
TK - finish the README.md + update with links to materials
|
app.py
CHANGED
@@ -216,7 +216,8 @@ demo = gr.Interface(
|
|
216 |
],
|
217 |
title="🚮 Trashify Object Detection Demo V3",
|
218 |
description="""Help clean up your local area! Upload an image and get +1 if there is all of the following items detected: trash, bin, hand.
|
219 |
-
|
|
|
220 |
""",
|
221 |
# Examples come in the form of a list of lists, where each inner list contains elements to prefill the `inputs` parameter with
|
222 |
examples=[
|
|
|
216 |
],
|
217 |
title="🚮 Trashify Object Detection Demo V3",
|
218 |
description="""Help clean up your local area! Upload an image and get +1 if there is all of the following items detected: trash, bin, hand.
|
219 |
+
|
220 |
+
The model in V3 is [same model](https://huggingface.co/mrdbourke/detr_finetuned_trashify_box_detector_with_data_aug) as in [V2](https://huggingface.co/spaces/mrdbourke/trashify_demo_v2) (trained with data augmentation) but has an additional post-processing step (NMS or [Non Maximum Suppression](https://paperswithcode.com/method/non-maximum-suppression)) to filter classes for only the highest scoring box of each class.
|
221 |
""",
|
222 |
# Examples come in the form of a list of lists, where each inner list contains elements to prefill the `inputs` parameter with
|
223 |
examples=[
|