Skip to content

Conversation

AllentDan
Copy link
Member

@AllentDan AllentDan changed the title swap width and height in Resize and Pad according to upstream codebases [Fix] swap width and height in Resize and Pad according to upstream codebases May 9, 2023
@codecov
Copy link

codecov bot commented May 9, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (49103cb) 49.70% compared to head (c61a381) 49.70%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2063   +/-   ##
=======================================
  Coverage   49.70%   49.70%           
=======================================
  Files         339      339           
  Lines       12976    12976           
  Branches     1900     1900           
=======================================
  Hits         6450     6450           
  Misses       6077     6077           
  Partials      449      449           
Flag Coverage Δ
unittests 49.70% <ø> (ø)

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

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

@RunningLeon RunningLeon requested review from irexyc and RunningLeon May 10, 2023 06:25
@RunningLeon
Copy link
Collaborator

@AllentDan CI of test mmpretrain full pipeline failed.

@irexyc irexyc self-requested a review May 11, 2023 06:43
Copy link
Collaborator

@RunningLeon RunningLeon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Comment on lines 86 to +87
data["pad_fixed_size"].push_back(size_[1]);
data["pad_fixed_size"].push_back(size_[0]);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's weird. In mmcv's document, pad_shape is formed with (height, width) which should be self.size here.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@irexyc irexyc mentioned this pull request Jun 14, 2023
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants