tensorflow / tensorflow/models

HELP! how to draw mask picture with mask.dtype=(15,15) from tensorflow object detection API

Open
#9,462 1 comment 0 reactions 3 assignees View on GitHub

@pkulzc is already working on this.

Since Nov 20, 2020.

models:research:odapi type:support
Dominant language
Python
Stars
77.7k
Forks
44.8k
PR merge metrics
No merged PRs in 30d

Description

I downloaded the tensorflow object detection mask rcnn model and make inference successfully.
The model has 5 outputs, they are num_detections, detection_classes, detection_scores, detection_boxes, detection_masks.
The num_detections, detection_classes, detection_scores, detection_boxes work very well and I got all output result. But detection_masks.dtypr = array(num_detections, 15, 15), the number in it is float and within (0, 1). I don't know hot to use this (15,15) data to draw a mask picture of an object. PLEASE HELP!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.