-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[Fix] fix a bug about validation of ava dataset #527
Conversation
Another evidence that our tool scripts need tests |
Codecov Report
@@ Coverage Diff @@
## master #527 +/- ##
=======================================
Coverage 84.67% 84.67%
=======================================
Files 121 121
Lines 8526 8526
Branches 1398 1398
=======================================
Hits 7219 7219
Misses 953 953
Partials 354 354
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
LGTM |
configs/detection/ava/slowfast_context_kinetics_pretrained_r50_4x16x1_20e_ava_rgb.py
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Two suggestions:
- What about we use a shorter name like
mAP@0.5IOU
instead of the current long namePascalBoxes_Precision/mAP@0.5IOU
? For example, we can change the name in AVADataset.evaluate - What about we add the new key_indicator to the greater_keys (here), so that we don't need to wrtie
rule='greater'
for each config
@dreamerlin #395 need to be updated (spatio-temporal action detection related docs and |
tools/dist_train.sh configs/detection/ava/slowonly_kinetics_pretrained_r50_4x16x1_20e_ava_rgb.py 8 --validate
best.json
is not created in work dir.python tools/train.py configs/detection/ava/slowonly_kinetics_pretrained_r50_4x16x1_20e_ava_rgb.py --validate
TypeError
occured.Locating BUG:
key_indicator
for eval hook is not set. Defaultkey_indicator
istop1_acc
, which is useless for ava dataset.Modification:
key_indicator='mAP@0.5IOU'
for ava dataset configs.PascalBoxes_Precision/mAP@0.5IOU
tomAP@0.5IOU
greater_keys