Spaces:
Running
on
Zero
Running
on
Zero
yuntian-deng
commited on
Commit
•
a7d70d3
1
Parent(s):
40eb9ab
Update app.py
Browse files
app.py
CHANGED
@@ -16,7 +16,7 @@ validation_results = json.load(open('validation_results.json'))
|
|
16 |
scores, thresholds, precisions = validation_results['scores'], validation_results['thresholds'], validation_results['precisions']
|
17 |
|
18 |
def get_threshold_precision(score_):
|
19 |
-
for score, threshold, precision in zip(
|
20 |
if score_ < score:
|
21 |
break
|
22 |
prev_score, prev_threshold, prev_precision = score, threshold, precision
|
|
|
16 |
scores, thresholds, precisions = validation_results['scores'], validation_results['thresholds'], validation_results['precisions']
|
17 |
|
18 |
def get_threshold_precision(score_):
|
19 |
+
for score, threshold, precision in zip(scores, thresholds, precisions):
|
20 |
if score_ < score:
|
21 |
break
|
22 |
prev_score, prev_threshold, prev_precision = score, threshold, precision
|