Skip to content

Commit 6c22f6f

Browse files
author
Hakan Ardo
committed
scale up stats
1 parent f48a3bb commit 6c22f6f

3 files changed

Lines changed: 7 additions & 6 deletions

File tree

codabench/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
FROM pytorch/pytorch:2.4.1-cuda12.1-cudnn9-runtime
2-
RUN pip install sskit scipy xtcocotools numpy==1.26.4
2+
RUN pip install sskit>=0.2.5 scipy xtcocotools numpy==1.26.4

codabench/build.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
docker build -t hakanardo/codabench:synloc .
2+
docker push hakanardo/codabench:synloc

codabench/scoring_program/scoring.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ def eval(tau, suffix):
2929
map_locsim = coco_eval.stats[0]
3030
precision, recall, f1, score_threshold, frame_accuracy = coco_eval.stats[12:]
3131
return {
32-
'mAP-LocSim' + suffix: map_locsim,
33-
'Precision' + suffix: precision,
34-
'Recall' + suffix: recall,
35-
'F1' + suffix: f1,
36-
'FrameAcc' + suffix: frame_accuracy,
32+
'mAP-LocSim' + suffix: map_locsim * 100,
33+
'Precision' + suffix: precision * 100,
34+
'Recall' + suffix: recall * 100,
35+
'F1' + suffix: f1 * 100,
36+
'FrameAcc' + suffix: frame_accuracy * 100,
3737
}
3838

3939
scores = eval(1, '')

0 commit comments

Comments
 (0)