Spaces:
Sleeping
Sleeping
kevinconka
commited on
Commit
•
e49a2f4
1
Parent(s):
bd044ed
Update README.md
Browse files
README.md
CHANGED
@@ -3,35 +3,39 @@ app_file: app.py
|
|
3 |
colorFrom: yellow
|
4 |
colorTo: green
|
5 |
description: 'TODO: add a description here'
|
6 |
-
emoji:
|
7 |
pinned: false
|
8 |
runme:
|
9 |
id: 01HPS3ASFJXVQR88985QNSXVN1
|
10 |
version: v3
|
11 |
sdk: gradio
|
12 |
-
sdk_version:
|
13 |
tags:
|
14 |
-
|
15 |
-
|
16 |
title: user-friendly-metrics
|
17 |
---
|
18 |
|
19 |
# How to Use
|
20 |
|
21 |
```python {"id":"01HPS3ASFHPCECERTYN7Z4Z7MN"}
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
|
|
|
|
|
|
34 |
```
|
|
|
35 |
```
|
36 |
global:
|
37 |
ahoy-IR-b2-whales__XAVIER-AGX-JP46_TRACKER:
|
@@ -197,4 +201,4 @@ year={2016}}
|
|
197 |
|
198 |
## Further References
|
199 |
|
200 |
-
- [Github Repository - py-motmetrics](https://github.com/cheind/py-motmetrics/tree/develop)
|
|
|
3 |
colorFrom: yellow
|
4 |
colorTo: green
|
5 |
description: 'TODO: add a description here'
|
6 |
+
emoji: 🤑
|
7 |
pinned: false
|
8 |
runme:
|
9 |
id: 01HPS3ASFJXVQR88985QNSXVN1
|
10 |
version: v3
|
11 |
sdk: gradio
|
12 |
+
sdk_version: 5.6.0
|
13 |
tags:
|
14 |
+
- evaluate
|
15 |
+
- metric
|
16 |
title: user-friendly-metrics
|
17 |
---
|
18 |
|
19 |
# How to Use
|
20 |
|
21 |
```python {"id":"01HPS3ASFHPCECERTYN7Z4Z7MN"}
|
22 |
+
import evaluate
|
23 |
+
from seametrics.payload.processor import PayloadProcessor
|
24 |
+
|
25 |
+
payload = PayloadProcessor(
|
26 |
+
dataset_name="SENTRY_VIDEOS_DATASET_QA",
|
27 |
+
gt_field="ground_truth_det",
|
28 |
+
models=["frames.cerulean-level-17_11_2023_RL_SPLIT_ep147_TRACKER"],
|
29 |
+
# sequence_list=["Sentry_2022_11_PROACT_CELADON_7.5M_MOB_2022_11_25_12_12_39"],
|
30 |
+
tags=["GT_ID_FUSION"],
|
31 |
+
tracking_mode=True
|
32 |
+
).payload
|
33 |
+
|
34 |
+
module = evaluate.load("SEA-AI/user-friendly-metrics")
|
35 |
+
res = module.calculate(payload, max_iou=1e-10, recognition_thresholds=[0.3, 0.5, 0.8])
|
36 |
+
print(res)
|
37 |
```
|
38 |
+
|
39 |
```
|
40 |
global:
|
41 |
ahoy-IR-b2-whales__XAVIER-AGX-JP46_TRACKER:
|
|
|
201 |
|
202 |
## Further References
|
203 |
|
204 |
+
- [Github Repository - py-motmetrics](https://github.com/cheind/py-motmetrics/tree/develop)
|