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

If should I resize an image to a square #8

Open
xun-dao opened this issue Nov 2, 2021 · 1 comment
Open

If should I resize an image to a square #8

xun-dao opened this issue Nov 2, 2021 · 1 comment

Comments

@xun-dao
Copy link

xun-dao commented Nov 2, 2021

when I use torchserve, I must change my image to a square like(640 * 640), but if I use my model directly, I can inference image like (640* 516) or (640 * any size).

@Loayaltal
Copy link

Same issue here using torchscript model in a MAR file

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

No branches or pull requests

2 participants