open-mmlab / mmflow

OpenMMLab optical flow toolbox and benchmark
https://mmflow.readthedocs.io/en/latest/
Apache License 2.0
965 stars 116 forks source link

[Fix] np.int is deprecated #270

Closed MeowZheng closed 1 year ago

MeowZheng commented 1 year ago

as title https://numpy.org/devdocs/release/1.20.0-notes.html

codecov[bot] commented 1 year ago

Codecov Report

Base: 69.23% // Head: 69.08% // Decreases project coverage by -0.15% :warning:

Coverage data is based on head (8b80235) compared to base (37be893). Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #270 +/- ## ========================================== - Coverage 69.23% 69.08% -0.16% ========================================== Files 93 93 Lines 5195 5195 Branches 700 700 ========================================== - Hits 3597 3589 -8 - Misses 1484 1491 +7 - Partials 114 115 +1 ``` | Flag | Coverage Δ | | |---|---|---| | unittests | `69.08% <100.00%> (-0.16%)` | :arrow_down: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=open-mmlab#carryforward-flags-in-the-pull-request-comment) to find out more. | [Impacted Files](https://codecov.io/gh/open-mmlab/mmflow/pull/270?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=open-mmlab) | Coverage Δ | | |---|---|---| | [mmflow/datasets/utils/image.py](https://codecov.io/gh/open-mmlab/mmflow/pull/270?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=open-mmlab#diff-bW1mbG93L2RhdGFzZXRzL3V0aWxzL2ltYWdlLnB5) | `88.23% <100.00%> (ø)` | | | [mmflow/utils/misc.py](https://codecov.io/gh/open-mmlab/mmflow/pull/270?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=open-mmlab#diff-bW1mbG93L3V0aWxzL21pc2MucHk=) | `95.23% <0.00%> (-4.77%)` | :arrow_down: | | [mmflow/datasets/pipelines/transforms.py](https://codecov.io/gh/open-mmlab/mmflow/pull/270?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=open-mmlab#diff-bW1mbG93L2RhdGFzZXRzL3BpcGVsaW5lcy90cmFuc2Zvcm1zLnB5) | `79.33% <0.00%> (-1.17%)` | :arrow_down: | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=open-mmlab). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=open-mmlab)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.