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

None of the models support dynamic batch size #262

Open
tungngreen opened this issue Apr 17, 2024 · 0 comments
Open

None of the models support dynamic batch size #262

tungngreen opened this issue Apr 17, 2024 · 0 comments

Comments

@tungngreen
Copy link

Despite what's shown in export.py

dynamic_axes={'images': {0: 'batch', 2: 'height', 3: 'width'},  # size(1,3,640,640)
    'outputs': {0: 'batch', 2: 'y', 3: 'x'}} if opt.dynamic else None)

the models do not support dynamic batching.

Even if argument --dynamic is parsed, the batch size is still fixed for all of the outputs.
Screenshot_20240417_140641

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

1 participant