-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
[Feature] Support BiSeNetV2 #804
Conversation
Codecov Report
@@ Coverage Diff @@
## master #804 +/- ##
==========================================
+ Coverage 89.05% 89.55% +0.49%
==========================================
Files 111 113 +2
Lines 6051 6224 +173
Branches 969 989 +20
==========================================
+ Hits 5389 5574 +185
+ Misses 467 452 -15
- Partials 195 198 +3
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
I tried a lot Unittest commit, the reason why I always failed is |
The input can be smaller for unittests. |
The training metric is here: Note: It is not stable when training from scratch. Here is its training log: |
Just check this log, the cross entropy loss of auxiliary heads all |
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.
Please refine docstring.
Which repository or paper did you refer to? |
None of them. I did not care too much about loss in auxiliary head. Actually paper did not say too much about loss and other repository did not adopt |
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.
LGTM except one comment
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.
Please resolve some comments.
b970d3f
to
4d74b77
Compare
* BiSeNetV2 first commit * BiSeNetV2 unittest * remove pytest * add pytest module * fix ConvModule input name * fix pytest error * fix unittest * refactor * BiSeNetV2 Refactory * fix docstrings and add some small changes * use_sigmoid=False * fix potential bugs about upsampling * Use ConvModule instead * Use ConvModule instead * fix typos * fix typos * fix typos * discard nn.conv2d * discard nn.conv2d * discard nn.conv2d * delete **kwargs * uploading markdown and model * final commit * BiSeNetV2 adding Unittest for its modules * BiSeNetV2 adding Unittest for its modules * BiSeNetV2 adding Unittest for its modules * BiSeNetV2 adding Unittest for its modules * BiSeNetV2 adding Unittest for its modules * BiSeNetV2 adding Unittest for its modules * BiSeNetV2 adding Unittest for its modules * Fix README conflict * Fix unittest problem * Fix unittest problem * BiSeNetV2 * Fixing fps * Fixing typpos * bisenetv2
* add chinese tutorial for new_module. * change some words.
Implementation of BiSeNet V2: Bilateral Network with Guided Aggregation for Real-time Semantic Segmentation.
Modified from the BiSeNetV2 PyTorch repository.
Done:
73.0
to74.0
).FCNHead
than changing its middle channels.73.36
)Todo:
BN
orReLU
in certain layers in BiSeNetV2 backbone) and test its performance.Notice:
(1) This version of implementation is a little bit different from original version. Here is comparison.