-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* resolve comments * update changelog * Refactor AVA Eval, only support mAP * fix unittest * add warning * Refactor AVA Eval, only support mAP * fix unittest * add warning * update warning info
- Loading branch information
1 parent
1e90c1f
commit 944c5b1
Showing
5 changed files
with
9 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -166,6 +166,4 @@ def test_ava_evaluate(self): | |
[0.106, 0.445, 0.782, 0.673, 0.367]]) | ||
]] | ||
res = ava_dataset.evaluate(fake_result) | ||
assert_array_almost_equal(res['[email protected]@100'], 0.33333333) | ||
assert_array_almost_equal(res['AR@100'], 0.15833333) | ||
assert_array_almost_equal(res['[email protected]'], 0.027777778) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -77,13 +77,8 @@ def test_ava_detection(): | |
result_path = osp.join(data_prefix, 'pred.csv') | ||
label_map = osp.join(data_prefix, 'action_list.txt') | ||
|
||
# eval proposal | ||
detection = ava_eval(result_path, 'proposal', label_map, gt_path, None) | ||
assert_array_almost_equal(detection['[email protected]@100'], 0.41666667) | ||
assert_array_almost_equal(detection['AR@100'], 0.08333333) | ||
|
||
# eval bbox | ||
detection = ava_eval(result_path, 'bbox', label_map, gt_path, None) | ||
detection = ava_eval(result_path, 'mAP', label_map, gt_path, None) | ||
assert_array_almost_equal(detection['[email protected]'], 0.09385522) | ||
|
||
|
||
|