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
{{ message }}
This repository has been archived by the owner on Feb 3, 2025. It is now read-only.
For my TFv2 model, I have evaluated the overall classification accuracy of my model on test images by
results = model.evaluate(test_images, verbose=0)
print(" Loss: {:.5f}".format(results[0]))
print("Accuracy: {:.3f}%".format(results[1] * 100))
My TFv2 based image classification model accuracy is 95.47%.
I also have to find the TF_TRT32, TRT16 and TRT08 models' overall accuracy.
However, I am unable to find the overall accuracy of my TRT32, TRT16 and TRT08 based image classification models.
Because, I could not find a solution or function (like model.evaluate()) for TF_TRT32, 16 and 08 models.
Therefore, I need help to know how can I evaluate the overall accuracy of TRT32, TRT16 and TRT08 based image classification models?
Thank You
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello
I converted my binary image classification model from Keras-TFv2 to TF-TRT by following NVIDIA colab.
https://github.com/tensorflow/tensorrt/blob/master/tftrt/examples/image_classification/NGC-TFv2-TF-TRT-inference-from-Keras-saved-model.ipynb
https://www.youtube.com/watch?v=O-_K42EAlP0
For my TFv2 model, I have evaluated the overall classification accuracy of my model on test images by
results = model.evaluate(test_images, verbose=0)
print(" Loss: {:.5f}".format(results[0]))
print("Accuracy: {:.3f}%".format(results[1] * 100))
My TFv2 based image classification model accuracy is 95.47%.
I also have to find the TF_TRT32, TRT16 and TRT08 models' overall accuracy.
However, I am unable to find the overall accuracy of my TRT32, TRT16 and TRT08 based image classification models.
Because, I could not find a solution or function (like model.evaluate()) for TF_TRT32, 16 and 08 models.
Therefore, I need help to know how can I evaluate the overall accuracy of TRT32, TRT16 and TRT08 based image classification models?
Thank You
The text was updated successfully, but these errors were encountered: