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 YOLOF mmdet model #1030

Merged
merged 2 commits into from
Jan 18, 2022
Merged

Add YOLOF mmdet model #1030

merged 2 commits into from
Jan 18, 2022

Conversation

dnth
Copy link
Contributor

@dnth dnth commented Jan 18, 2022

This PR adds the YOLOF model from mmdet to IceVision

@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@dnth dnth changed the title Add YOLOF mmdet support Add YOLOF mmdet model Jan 18, 2022
@codecov
Copy link

codecov bot commented Jan 18, 2022

Codecov Report

Merging #1030 (d9af1fa) into master (21e74aa) will increase coverage by 0.09%.
The diff coverage is 94.73%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1030      +/-   ##
==========================================
+ Coverage   85.71%   85.80%   +0.09%     
==========================================
  Files         258      261       +3     
  Lines        5679     5694      +15     
==========================================
+ Hits         4868     4886      +18     
+ Misses        811      808       -3     
Flag Coverage Δ
unittests 85.80% <94.73%> (+0.09%) ⬆️

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

Impacted Files Coverage Δ
icevision/models/mmdet/utils.py 66.66% <0.00%> (+3.50%) ⬆️
icevision/models/mmdet/models/__init__.py 100.00% <100.00%> (ø)
icevision/models/mmdet/models/yolof/__init__.py 100.00% <100.00%> (ø)
...on/models/mmdet/models/yolof/backbones/__init__.py 100.00% <100.00%> (ø)
.../models/mmdet/models/yolof/backbones/resnet_fpn.py 100.00% <100.00%> (ø)

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 21e74aa...d9af1fa. Read the comment docs.

@FraPochetti
Copy link
Contributor

Thanks for your contribution @dnth !

@dnth
Copy link
Contributor Author

dnth commented Jan 18, 2022

I am so happy as this is my first contribution to IceVision! Thank you for the guides and documentations!

@@ -47,7 +47,7 @@ def param_groups(model):
layers += [getattr(body, l) for l in body.res_layers]

# add the neck module if it exists (DETR doesn't have a neck module)
layers += [model.neck for name in model.named_modules() if name == "neck"]
layers += [module for name, module in model.named_modules() if name == "neck"]
Copy link
Contributor

@FraPochetti FraPochetti Jan 18, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change was merged in this PR

@ai-fast-track ai-fast-track merged commit 4f626f4 into airctic:master Jan 18, 2022
@dnth dnth deleted the yolof branch January 21, 2022 02:07
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