on-internet
← Community

Do you compare raw output values or only the final prediction when validating a deployed model?

Stack Overflow ·

I'm deploying a small classification model on an NXP-based embedded target and I'm currently setting up some verification tests. One thing I'm unsure about is what I should actually compare. The raw output values from the deployed model are never exactly the same as the TensorFlow model, especially after quantization. For example: Python: TensorFlow: [0.72, 0.18, 0.10] C: Embedded: [0.68, 0.22, 0.10] Both models predict the same class, but the scores differ. In practice, do you compare the actual output values with a tolerance, or do you only care that the final prediction remains unchanged?

Comments

Sign in or sign up to comment and upvote.

No comments yet.