You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current model outputs a (scores, labels) prediction tuple.
I suggest changing it to a {'labels': labels, 'scores': scores} dict. This makes output more explicit and follows what we've done training-side in the dataset format and model inputs.
It will change the model output in serving as well, so it would require some matching changes in the code that uses the model for prediction.
The text was updated successfully, but these errors were encountered:
streino
changed the title
Change model prediction output from (scores, labels) to {'labels': labels, 'scores': scores}
Change model prediction output from tuple to dict
Jul 5, 2022
Change originally proposed in #73
Current model outputs a
(scores, labels)
prediction tuple.I suggest changing it to a
{'labels': labels, 'scores': scores}
dict. This makes output more explicit and follows what we've done training-side in the dataset format and model inputs.It will change the model output in serving as well, so it would require some matching changes in the code that uses the model for prediction.
The text was updated successfully, but these errors were encountered: