Skip to content

Conversation

@simonschoelly
Copy link
Contributor

What has changed and why?

(Delete this: Please include a summary of the change and which issue is fixed. Please
also include relevant motivation and context. List any dependencies that are required
for this change.)

How has it been tested?

(Delete this: Please describe the tests that you ran to verify your changes. Provide
instructions so we can reproduce. Please also list any relevant details for your test
configuration.)

Did you update CHANGELOG.md?

  • Yes
  • Not needed (internal change)

Did you update the documentation?

  • Yes
  • Not needed (internal change without effects for user)

Comment on lines +707 to +708
if dynamic_batch_size:
batch_size = 2
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will not work for most model as the code is not implemented for batch size > 1. Please check models and only enable for models that actually support it.

batch_size: int = 1,
height: int | None = None,
width: int | None = None,
dynamic_batch_size: bool = True,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please update docstring in all models

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.

2 participants