We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The argument scales of RandomChoiceResize accepts Sequence[Union[int, Tuple]] as input. But at the init function, it's forced to be a list of tuples.
scales
RandomChoiceResize
Sequence[Union[int, Tuple]]
mmcv/mmcv/transforms/processing.py
Line 1057 in ac47088
Line 1066 in ac47088
scale
Resize
int
tuple
Line 133 in ac47088
Line 1082 in ac47088
The text was updated successfully, but these errors were encountered:
closed by #2450
Sorry, something went wrong.
HAOCHENYE
Successfully merging a pull request may close this issue.
The argument
scales
ofRandomChoiceResize
acceptsSequence[Union[int, Tuple]]
as input. But at the init function, it's forced to be a list of tuples.mmcv/mmcv/transforms/processing.py
Line 1057 in ac47088
mmcv/mmcv/transforms/processing.py
Line 1066 in ac47088
Then the argument
scale
ofResize
acceptsint
ortuple
as input.mmcv/mmcv/transforms/processing.py
Line 133 in ac47088
So can you remove the two assertions at
mmcv/mmcv/transforms/processing.py
Line 1066 in ac47088
mmcv/mmcv/transforms/processing.py
Line 1082 in ac47088
The text was updated successfully, but these errors were encountered: