Skip to content

How do I get the class name of a prediction during inference? #1951

Answered by abc-125
SilverStarCoder asked this question in Q&A
Discussion options

You must be logged in to vote

how do I determine what class that image is?

You train a model for every class separately (unless it is zero-shot WinCLIP), so it can be done only manually by using the path variable in the OpenVINOInferencer in your code, or in the config file. Hopefully that makes sense.

if the abnormality was "broken" or "cut", etc

As far as I know, existing anomaly detection models don't have such ability, they calculate just a score, which shows how normal/abnormal the image is.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@samet-akcay
Comment options

Answer selected by samet-akcay
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants