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

Add aspect ratio model #604

Conversation

wenliangzhao2018
Copy link

Summary:
X-link: facebookresearch/detectron2#5048

Unet support different aspect ratio by natural. For training we need to make change to group images with similar aspect ratio into the same batch and do padding/cropping. For inference, we need to change start_code dimension accordingly.

Here is a result showing 1:1 and 16:9 inference are similar. It supports the mixed training decision. N4024922

Differential Revision: D47682434

@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported labels Aug 2, 2023
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D47682434

wenliangzhao2018 pushed a commit to wenliangzhao2018/d2go that referenced this pull request Aug 2, 2023
Summary:
Pull Request resolved: facebookresearch#604

X-link: facebookresearch/detectron2#5048

Unet support different aspect ratio by natural. For training we need to make change to group images with similar aspect ratio into the same batch and do padding/cropping. For inference, we need to change start_code dimension accordingly.

Here is a result showing 1:1 and 16:9 inference are similar. It supports the mixed training decision. N4024922

Differential Revision: D47682434

fbshipit-source-id: ee2554fd7248f628cf41ce29dedcf4d542d12baa
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D47682434

wenliangzhao2018 pushed a commit to wenliangzhao2018/detectron2 that referenced this pull request Aug 2, 2023
Summary:
X-link: facebookresearch/d2go#604

Pull Request resolved: facebookresearch#5048

Unet support different aspect ratio by natural. For training we need to make change to group images with similar aspect ratio into the same batch and do padding/cropping. For inference, we need to change start_code dimension accordingly.

Here is a result showing 1:1 and 16:9 inference are similar. It supports the mixed training decision. N4024922

Differential Revision: D47682434

fbshipit-source-id: bc9578b7167c475d48b385ce472b7aa8baeae7c6
wenliangzhao2018 pushed a commit to wenliangzhao2018/d2go that referenced this pull request Aug 2, 2023
Summary:
Pull Request resolved: facebookresearch#604

X-link: facebookresearch/detectron2#5048

Unet support different aspect ratio by natural. For training we need to make change to group images with similar aspect ratio into the same batch and do padding/cropping. For inference, we need to change start_code dimension accordingly.

Here is a result showing 1:1 and 16:9 inference are similar. It supports the mixed training decision. N4024922

Differential Revision: D47682434

fbshipit-source-id: 2478a64775717cb178e525ac127232a24f1d40a3
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D47682434

Summary:
Pull Request resolved: facebookresearch#604

X-link: facebookresearch/detectron2#5048

Unet support different aspect ratio by natural. For training we need to make change to group images with similar aspect ratio into the same batch and do padding/cropping. For inference, we need to change start_code dimension accordingly.

Here is a result showing 1:1 and 16:9 inference are similar. It supports the mixed training decision. N4024922

Differential Revision: D47682434

fbshipit-source-id: f79591180098fd67d4e443976410f63f9e39a432
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D47682434

@wat3rBro wat3rBro closed this Aug 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants