-
Hello, I am using the torch inference and the inference outputs the heatmap superimposed on the original image and then a segmentation. Is there anyway to get just the binary mask as the output? |
Beta Was this translation helpful? Give feedback.
Answered by
blaz-r
Jul 19, 2023
Replies: 1 comment 3 replies
-
Hello. I don't quite understand your question. You can get binary mask from object returned by inferencer. It's a property called |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You will need to modify the code then, as I believe that default there is only simple visualization (the one where heat map is superimposed) and full (where you get the grid).
You will need to add
output = predictions.pred_mask
and avoid using visualizer.