Skip to content
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

[Feature] Support TTA for Segmentor #2382

Merged
merged 8 commits into from
Apr 24, 2023

Conversation

Xiangxu-0103
Copy link
Collaborator

Thanks for your contribution and we appreciate it a lot. The following instructions would make your pull request more healthy and more easily get feedback. If you do not understand some items, don't worry, just make the pull request and seek help from maintainers.

Motivation

Support TTA for segmentor

documentation: https://mmengine.readthedocs.io/zh_CN/latest/advanced_tutorials/test_time_augmentation.html
Related PR: open-mmlab/mmdetection#9452 & open-mmlab/mmsegmentation#2184

Modification

Please briefly describe what modification is made in this PR.

BC-breaking (Optional)

Does the modification introduce changes that break the back-compatibility of the downstream repos?
If so, please describe how it breaks the compatibility and how the downstream projects should modify their code to keep compatibility with this PR.

Use cases (Optional)

If this PR introduces a new feature, it is better to list some use cases here, and update the documentation.

Checklist

  1. Pre-commit or other linting tools are used to fix the potential lint issues.
  2. The modification is covered by complete unit tests. If not, please add more unit test to ensure the correctness.
  3. If the modification has potential influence on downstream projects, this PR should be tested with downstream projects.
  4. The documentation has been modified accordingly, like docstring or example tutorials.

@codecov
Copy link

codecov bot commented Mar 23, 2023

Codecov Report

Patch coverage: 30.95% and project coverage change: +0.02 🎉

Comparison is base (aa10365) 46.99% compared to head (3fb5aa3) 47.01%.

❗ Current head 3fb5aa3 differs from pull request most recent head 5577f50. Consider uploading reports for the commit 5577f50 to get more accurate results

Additional details and impacted files
@@             Coverage Diff             @@
##           dev-1.x    #2382      +/-   ##
===========================================
+ Coverage    46.99%   47.01%   +0.02%     
===========================================
  Files          275      276       +1     
  Lines        22904    22919      +15     
  Branches      3566     3569       +3     
===========================================
+ Hits         10763    10775      +12     
- Misses       11455    11462       +7     
+ Partials       686      682       -4     
Flag Coverage Δ
unittests 47.01% <30.95%> (+0.02%) ⬆️

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

Impacted Files Coverage Δ
mmdet3d/models/segmentors/cylinder3d.py 46.66% <0.00%> (ø)
mmdet3d/models/segmentors/encoder_decoder.py 22.22% <0.00%> (-0.36%) ⬇️
mmdet3d/models/segmentors/base.py 60.78% <20.00%> (-0.76%) ⬇️
mmdet3d/models/segmentors/minkunet.py 39.39% <20.00%> (-1.24%) ⬇️
mmdet3d/models/segmentors/seg3d_tta.py 40.00% <40.00%> (ø)
mmdet3d/datasets/transforms/__init__.py 100.00% <100.00%> (ø)
mmdet3d/models/segmentors/__init__.py 100.00% <100.00%> (ø)

... and 1 file with indirect coverage changes

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@ZwwWayne ZwwWayne requested a review from ZCMax March 28, 2023 08:23
tools/test.py Show resolved Hide resolved
@JingweiZhang12 JingweiZhang12 merged commit bc849cc into open-mmlab:dev-1.x Apr 24, 2023
@Xiangxu-0103 Xiangxu-0103 deleted the tta_seg branch May 11, 2023 14:20
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants