Object masks inversion using #4040
Unanswered
greg007-web
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.
-
I trained a custom model with 3 objects (A, B, C), and worked well, the predicition is correct. But when I get the maks using
pred_masks
, sometimes A is the number 0, 1, or 2, depends of the image. This happen for each object. Here is my code:Again, the final image with predictions, the name of detected objects are Ok, the problem is when I use pred_masks. I tried to remove
MetadataCatalog.get
, but the problem is the same. Is there any way to keep the same pattern? Or is a BUG?Beta Was this translation helpful? Give feedback.
All reactions