Spaces:
Sleeping
Sleeping
VascoDVRodrigues
commited on
Commit
·
69e13f0
1
Parent(s):
8e5798a
pls work
Browse files
README.md
CHANGED
|
@@ -20,8 +20,7 @@ The MOT metrics takes two numeric arrays as input corresponding to the predictio
|
|
| 20 |
>>> import numpy as np
|
| 21 |
>>> module = evaluate.load("SEA-AI/mot-metrics")
|
| 22 |
>>> predicted =[[1,1,10,20,30,40,0.85],[2,1,15,25,35,45,0.78],[2,2,55,65,75,85,0.95]]
|
| 23 |
-
>>> ground_truth = [[1, 1, 10, 20, 30, 40],[2, 1, 15, 25, 35, 45]]
|
| 24 |
-
|
| 25 |
>>> results = module._compute(predictions=predicted, references=ground_truth, max_iou=0.5)
|
| 26 |
>>> results
|
| 27 |
{'idf1': 0.8421052631578947, 'idp': 0.8888888888888888,
|
|
@@ -76,7 +75,9 @@ The output is a dictionary containing the following metrics:
|
|
| 76 |
title = {A great new module},
|
| 77 |
authors={huggingface, Inc.},
|
| 78 |
year={2020}}
|
| 79 |
-
|
|
|
|
|
|
|
| 80 |
@article{milan2016mot16,
|
| 81 |
title={MOT16: A benchmark for multi-object tracking},
|
| 82 |
author={Milan, Anton and Leal-Taix{\'e}, Laura and Reid, Ian and Roth, Stefan and Schindler, Konrad},
|
|
|
|
| 20 |
>>> import numpy as np
|
| 21 |
>>> module = evaluate.load("SEA-AI/mot-metrics")
|
| 22 |
>>> predicted =[[1,1,10,20,30,40,0.85],[2,1,15,25,35,45,0.78],[2,2,55,65,75,85,0.95]]
|
| 23 |
+
>>> ground_truth = [[1, 1, 10, 20, 30, 40],[2, 1, 15, 25, 35, 45]]
|
|
|
|
| 24 |
>>> results = module._compute(predictions=predicted, references=ground_truth, max_iou=0.5)
|
| 25 |
>>> results
|
| 26 |
{'idf1': 0.8421052631578947, 'idp': 0.8888888888888888,
|
|
|
|
| 75 |
title = {A great new module},
|
| 76 |
authors={huggingface, Inc.},
|
| 77 |
year={2020}}
|
| 78 |
+
```
|
| 79 |
+
|
| 80 |
+
```bibtex
|
| 81 |
@article{milan2016mot16,
|
| 82 |
title={MOT16: A benchmark for multi-object tracking},
|
| 83 |
author={Milan, Anton and Leal-Taix{\'e}, Laura and Reid, Ian and Roth, Stefan and Schindler, Konrad},
|