bascobasculino commited on
Commit
c7593af
1 Parent(s): e9e38c2
Files changed (3) hide show
  1. README.md +2 -2
  2. app.py +1 -2
  3. my_metricv2.py → mot-metric.py +2 -2
README.md CHANGED
@@ -1,5 +1,5 @@
1
  ---
2
- title: My Metricv2
3
  tags:
4
  - evaluate
5
  - metric
@@ -10,7 +10,7 @@ app_file: app.py
10
  pinned: false
11
  ---
12
 
13
- # Metric Card for My Metricv2
14
 
15
  ***Module Card Instructions:*** *Fill out the following subsections. Feel free to take a look at existing metric cards if you'd like examples.*
16
 
 
1
  ---
2
+ title: MOT Metric
3
  tags:
4
  - evaluate
5
  - metric
 
10
  pinned: false
11
  ---
12
 
13
+ # Metric Card for MOT Metrics
14
 
15
  ***Module Card Instructions:*** *Fill out the following subsections. Feel free to take a look at existing metric cards if you'd like examples.*
16
 
app.py CHANGED
@@ -2,6 +2,5 @@ import evaluate
2
  from evaluate.utils import launch_gradio_widget
3
 
4
 
5
- module = evaluate.load("bascobasculino/my_metricv2")
6
- # module = evaluate.load("accuracy")
7
  launch_gradio_widget(module)
 
2
  from evaluate.utils import launch_gradio_widget
3
 
4
 
5
+ module = evaluate.load("bascobasculino/mot-metrics")
 
6
  launch_gradio_widget(module)
my_metricv2.py → mot-metric.py RENAMED
@@ -72,7 +72,7 @@ Returns:
72
 
73
  Examples:
74
  >>> import numpy as np
75
- >>> module = evaluate.load("bascobasculino/my_metricv2")
76
 
77
  >>> predicted =[
78
  [1,1,10,20,30,40,0.85],
@@ -111,7 +111,7 @@ Examples:
111
 
112
 
113
  @evaluate.utils.file_utils.add_start_docstrings(_DESCRIPTION, _KWARGS_DESCRIPTION)
114
- class MyMetricv2(evaluate.Metric):
115
  """TODO: Short description of my evaluation module."""
116
 
117
  def _info(self):
 
72
 
73
  Examples:
74
  >>> import numpy as np
75
+ >>> module = evaluate.load("bascobasculino/mot-metrics")
76
 
77
  >>> predicted =[
78
  [1,1,10,20,30,40,0.85],
 
111
 
112
 
113
  @evaluate.utils.file_utils.add_start_docstrings(_DESCRIPTION, _KWARGS_DESCRIPTION)
114
+ class MotMetrics(evaluate.Metric):
115
  """TODO: Short description of my evaluation module."""
116
 
117
  def _info(self):