mmpose icon indicating copy to clipboard operation
mmpose copied to clipboard

[Fix] Devide-and-integerize operation for torch.Tensor

Open wusize opened this issue 2 years ago • 5 comments

Motivation

Resolve pytorch warning in voxelpose_head.py for divison operation.

Modification

BC-breaking (Optional)

Use cases (Optional)

Checklist

Before PR:

  • [ ] I have read and followed the workflow indicated in the CONTRIBUTING.md to create this PR.
  • [ ] Pre-commit or linting tools indicated in CONTRIBUTING.md are used to fix the potential lint issues.
  • [ ] Bug fixes are covered by unit tests, the case that causes the bug should be added in the unit tests.
  • [ ] New functionalities are covered by complete unit tests. If not, please add more unit tests to ensure correctness.
  • [ ] The documentation has been modified accordingly, including docstring or example tutorials.

After PR:

  • [ ] CLA has been signed and all committers have signed the CLA in this PR.

wusize avatar Apr 04 '22 06:04 wusize

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Apr 04 '22 06:04 CLAassistant

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Files Coverage Δ
mmpose/models/heads/voxelpose_head.py 100.00% <100.00%> (ø)

:loudspeaker: Thoughts on this report? Let us know!

codecov[bot] avatar Apr 04 '22 06:04 codecov[bot]

Could you please also check if this issue exists in other parts of mmpose?

ly015 avatar Apr 05 '22 09:04 ly015

Could you please also check if this issue exists in other parts of mmpose?

Ok.

wusize avatar Apr 06 '22 05:04 wusize

@wusize CI failed. Please check the reason.

ly015 avatar Apr 15 '22 02:04 ly015