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
Limited by VRam, my mulit-obj tracking job need to be split. As a result, some objects may overlap. Therefore, can the model export not only 0or1 but also an float evaluation standard for later decision.
The text was updated successfully, but these errors were encountered:
The raw output of the model (referred to as out_mask_logits in the video notebook) is already a sort of confidence score for each pixel, where large positive values represent higher confidence. To make it more like a probability, you can pass it through a sigmoid function, to map it between 0.0 and 1.0:
# Video segmentation loopforout_frame_idx, out_obj_ids, out_mask_logitsinpredictor.propagate_in_video(inference_state):
per_pixel_mask_prob=torch.sigmoid(out_mask_logits)
Written this way, the binary masked pixels would come from checking pixels with a value > 0.5. That is:
Limited by VRam, my mulit-obj tracking job need to be split. As a result, some objects may overlap. Therefore, can the model export not only 0or1 but also an float evaluation standard for later decision.
The text was updated successfully, but these errors were encountered: