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

请问MultiscaleFlipAug中两个img_scale有什么区别呢 #888

Closed
ocrhei opened this issue Mar 28, 2022 · 2 comments · Fixed by #1007
Closed

请问MultiscaleFlipAug中两个img_scale有什么区别呢 #888

ocrhei opened this issue Mar 28, 2022 · 2 comments · Fixed by #1007
Assignees
Labels
bug Something isn't working

Comments

@ocrhei
Copy link

ocrhei commented Mar 28, 2022

按我的理解,第一个image_scale就已经是把原图给resize了,为啥还要再来一个resize呢,而且您看这两个img_scale的尺寸有时还相差巨大
qxlarge-dsc-124D099FE58C275F9A29A4E48A32C6A4

@mm-assistant
Copy link

mm-assistant bot commented Mar 28, 2022

Please use English or English & Chinese for issues so that we could have broader discussion.

@gaotongxiao
Copy link
Collaborator

Sorry for the confusion, the Resize transform prefers the img_scale in MultiScaleFlipAug, meaning that in this case the image will be resized to img_scale_test_icdar2015 instead of (3000, 640). In fact, the second img_scale can be removed from the config to avoid further confusion. We'd appreciate it if you could raise a PR for it :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants