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

[Fix] Fix piece_expected_num in IoUNegPiecewiseSampler in dev branch #2018

Merged
merged 2 commits into from
Nov 23, 2022

Conversation

oyel
Copy link
Contributor

@oyel oyel commented Nov 11, 2022

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

Fix #2004

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 Nov 15, 2022

Codecov Report

Base: 49.96% // Head: 49.96% // Increases project coverage by +0.00% 🎉

Coverage data is based on head (05a6ecb) compared to base (d25c2eb).
Patch coverage: 50.00% of modified lines in pull request are covered.

Additional details and impacted files
@@           Coverage Diff           @@
##              dev    #2018   +/-   ##
=======================================
  Coverage   49.96%   49.96%           
=======================================
  Files         228      228           
  Lines       19915    19916    +1     
  Branches     3187     3187           
=======================================
+ Hits         9951     9952    +1     
  Misses       9374     9374           
  Partials      590      590           
Flag Coverage Δ
unittests 49.96% <50.00%> (+<0.01%) ⬆️

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

Impacted Files Coverage Δ
...3d/core/bbox/samplers/iou_neg_piecewise_sampler.py 21.25% <50.00%> (+0.99%) ⬆️

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 at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@JingweiZhang12
Copy link
Contributor

LGTM. I also fix the lint.

@JingweiZhang12 JingweiZhang12 requested review from Tai-Wang and ZwwWayne and removed request for Tai-Wang November 15, 2022 03:56
@JingweiZhang12 JingweiZhang12 changed the title [fix] Update iou_neg_piecewise_sampler.py dev [Fix] Fix piece_expected_num in IoUNegPiecewiseSampler in dev branch Nov 17, 2022
@JingweiZhang12 JingweiZhang12 requested review from Tai-Wang and removed request for ZwwWayne November 21, 2022 11:20
@JingweiZhang12
Copy link
Contributor

LGTM

@Tai-Wang Tai-Wang merged commit 56acaf3 into open-mmlab:dev Nov 23, 2022
@oyel oyel deleted the dev branch November 25, 2022 10:07
ZwwWayne pushed a commit to ZwwWayne/mmdetection3d that referenced this pull request Dec 16, 2022
open-mmlab#2018)

* Update iou_neg_piecewise_sampler.py

* fix lint

Co-authored-by: JingweiZhang12 <zjw18@mails.tsinghua.edu.cn>
ZwwWayne pushed a commit that referenced this pull request Dec 16, 2022
#2018)

* Update iou_neg_piecewise_sampler.py

* fix lint

Co-authored-by: JingweiZhang12 <zjw18@mails.tsinghua.edu.cn>
# 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.

3 participants