Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add CompatibleCheckHook #4508

Merged
merged 11 commits into from
Jan 27, 2021
Merged

add CompatibleCheckHook #4508

merged 11 commits into from
Jan 27, 2021

Conversation

jshilong
Copy link
Collaborator

Check whether the num_classes in head matches the number of CLASSSES in dataset.

@codecov
Copy link

codecov bot commented Jan 21, 2021

Codecov Report

Merging #4508 (e700fe0) into master (247785c) will decrease coverage by 0.08%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #4508      +/-   ##
==========================================
- Coverage   62.65%   62.57%   -0.09%     
==========================================
  Files         245      245              
  Lines       18763    18783      +20     
  Branches     3138     3142       +4     
==========================================
- Hits        11756    11753       -3     
- Misses       6432     6456      +24     
+ Partials      575      574       -1     
Flag Coverage Δ
unittests 62.53% <100.00%> (-0.08%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
mmdet/datasets/utils.py 83.78% <100.00%> (+15.36%) ⬆️
mmdet/models/roi_heads/mask_scoring_roi_head.py 55.35% <0.00%> (-32.15%) ⬇️
mmdet/models/roi_heads/mask_heads/maskiou_head.py 94.62% <0.00%> (-5.38%) ⬇️
mmdet/core/mask/structures.py 87.87% <0.00%> (ø)
mmdet/models/dense_heads/fcos_head.py 60.97% <0.00%> (+0.38%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 247785c...e700fe0. Read the comment docs.

mmdet/apis/train.py Outdated Show resolved Hide resolved
mmdet/datasets/utils.py Outdated Show resolved Hide resolved
tests/test_config.py Outdated Show resolved Hide resolved
@ZwwWayne ZwwWayne merged commit 1b7fb93 into open-mmlab:master Jan 27, 2021
@jshilong jshilong deleted the check_hook branch June 1, 2021 12:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants