Skip to content

Fix the issue with input name-value mismatch in Windows#29

Merged
biendltb merged 5 commits intomainfrom
fix/input_name_value_mismatch
May 31, 2025
Merged

Fix the issue with input name-value mismatch in Windows#29
biendltb merged 5 commits intomainfrom
fix/input_name_value_mismatch

Conversation

@biendltb
Copy link
Copy Markdown
Contributor

@biendltb biendltb commented May 31, 2025

The wrong order of input names from the session for ONNX Runtime Windows C++ API causes errors in #28.

This PR is to fix the issue by using input names from user's input data instead of using the session's input names. This is a cleaner approach.

Changes:

  • Use input names from users instead of the session in Linux and Windows
  • Add integration tests for invalid input names and arbitrary input tensor order
  • Suppress the warning for ONNX Runtime not found in the system to avoid confusion
  • Enforce error code consistency for inference errors

@biendltb biendltb marked this pull request as ready for review May 31, 2025 08:39
@biendltb biendltb merged commit 74e55c4 into main May 31, 2025
6 checks passed
@biendltb biendltb deleted the fix/input_name_value_mismatch branch May 31, 2025 09:02
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