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

updating log message with input name #243

Merged
merged 2 commits into from
Aug 18, 2023
Merged

updating log message with input name #243

merged 2 commits into from
Aug 18, 2023

Conversation

nnshah1
Copy link
Contributor

@nnshah1 nnshah1 commented Aug 15, 2023

based on feedback - adding the input name when logging mismatched data type.

Message is now:

inference input 'INPUT' data type is 'DATATYPE_1', but model 'MODEL' expects 'DATATYPE_2'

Open to other phrasing.

@nnshah1 nnshah1 requested a review from Tabrizian August 15, 2023 20:01
Tabrizian
Tabrizian previously approved these changes Aug 15, 2023
tanmayv25
tanmayv25 previously approved these changes Aug 16, 2023
@tanmayv25
Copy link
Contributor

tanmayv25 commented Aug 16, 2023

@nnshah1 Did we check for more locations were we should be including the input name in log message? But should.

@nnshah1 nnshah1 dismissed stale reviews from tanmayv25 and Tabrizian via 5bdd96b August 16, 2023 21:35
@nnshah1
Copy link
Contributor Author

nnshah1 commented Aug 16, 2023

I added one more. There is more potential work to make messages more uniform (some give the model name, some do not) - but I think we'd do that separately..

@nnshah1 nnshah1 requested review from Tabrizian and tanmayv25 August 16, 2023 21:42
@nnshah1 nnshah1 merged commit fc2ada2 into main Aug 18, 2023
@nnshah1 nnshah1 deleted the improved_log_message branch August 18, 2023 22:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants