How to get predictions from Defaults.py #4140
Unanswered
tripleaamin
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I am looking to get predictions so I can import them into a csv file. I was wondering how I could do that.
In ..../detctron2/demo/predictor.py it uses Default Predictor from ..../detectron2/detectron2/engine/defaults.py to get the prediction.
What it returns is a boolean matrix. Where each row tells us the classification instance if 1 of them is true. I was wondering is there a reference to see what each index is associated with? For instance car, bike, bag, plant, etc
Also, is the correct place to place this question?
Beta Was this translation helpful? Give feedback.
All reactions