Skip to content

Comments

Bugfix/osrt cpp#92

Open
erstrom wants to merge 5 commits intoTexasInstruments:masterfrom
erstrom:bugfix/osrt_cpp
Open

Bugfix/osrt cpp#92
erstrom wants to merge 5 commits intoTexasInstruments:masterfrom
erstrom:bugfix/osrt_cpp

Conversation

@erstrom
Copy link

@erstrom erstrom commented Oct 3, 2024

Various bugfixes found during tests with the ONNX CPP example application

…tenation

Add missing slash separator when creating artifacts path

Signed-off-by: Erik Stromdahl <erik.stromdahl@gmail.com>
fix bug with index used when iterating the output tensor from output
segmentation

Signed-off-by: Erik Stromdahl <erik.stromdahl@gmail.com>
Remove redundant tensor memory allocation (and memory leak). The memory
for the output will be allocated later in the output creation loop.

Signed-off-by: Erik Stromdahl <erik.stromdahl@gmail.com>
Instead of reading width and height from indices 2 and 3, we read these
values from the last and second last indices of the shape vector. This
turns out to be indices 2 and 3 for most models.

Signed-off-by: Erik Stromdahl <erik.stromdahl@gmail.com>
Print the values that are compared if there is a mismatch

Signed-off-by: Erik Stromdahl <erik.stromdahl@gmail.com>
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