Skip to content
New issue

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

[Fix] Change target_size for RandomResize from list to tuple #617

Merged
merged 1 commit into from
Nov 23, 2021

Conversation

ckkelvinchan
Copy link
Member

Motivation

As stated in #616, when using RandomResize, an error is raised when list is used for target_size.

Modification

This PR fixes the problem by changing target_size from list to tuple in the configuration files.

@ckkelvinchan ckkelvinchan changed the title [Fix] Change target_size in RandomResize from list to tuple [Fix] Change target_size for RandomResize from list to tuple Nov 19, 2021
@ckkelvinchan ckkelvinchan merged commit b5fb1e6 into open-mmlab:master Nov 23, 2021
Yshuo-Li pushed a commit to Yshuo-Li/mmediting that referenced this pull request Jul 15, 2022
Yshuo-Li pushed a commit to Yshuo-Li/mmediting that referenced this pull request Jul 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant