Skip to content

ONNX models with different IO sizes - #7

Open
NeKoooo233 wants to merge 10 commits into
SebastianJanampa:masterfrom
NeKoooo233:NeKoooo233-patch-1
Open

NeKoooo233 wants to merge 10 commits into
SebastianJanampa:masterfrom
NeKoooo233:NeKoooo233-patch-1

Conversation

@NeKoooo233

Copy link
Copy Markdown

Adaptively export ONNX models with different IO sizes and perform inference according to eval_spatial_size in linea_hgnetv2_l.py. For example, 320, 1280.

The batch size of images is 32, while the batch size of orig_target_sizes is 1, violating the constraint and throwing a 'Ne(s31, 1) is inconsistent' error.
Remove eval_spatial_size variable from configuration.
Added evaluation spatial size for model configuration.
Added evaluation spatial size for model configuration.
@NeKoooo233

Copy link
Copy Markdown
Author

Change the model's IO size to improve actual inference performance and handle lines of varying thickness.

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.

1 participant