models icon indicating copy to clipboard operation
models copied to clipboard

How do I create PNG Instance Segmentation Masks

Open SandeepSreenivasan opened this issue 8 years ago • 9 comments

I have my own data set. In order to train with instance segmentation, I need to create Instance segmentation masks in image/object/mask. How to create PNG instance segmentation masks for my own dataset?

SandeepSreenivasan avatar May 02 '18 08:05 SandeepSreenivasan

Try LabelMe

Abhijit-2592 avatar May 02 '18 09:05 Abhijit-2592

Do you need a labeling tool or incorporate your segmentation images into TF records?

For the latter case, you need to serialize the PNG masks for individual objects in each image. You can find details in the guideline https://github.com/tensorflow/models/blob/master/research/object_detection/g3doc/instance_segmentation.md.

cosmojiang avatar May 02 '18 19:05 cosmojiang

@cosmojiang I am using LabelImg for creating bonding boxes(.xml format). Similarly I want a tool to create the PNG masks.

SandeepSreenivasan avatar May 03 '18 09:05 SandeepSreenivasan

@cosmojiang How to incorporate the trimaps/segmentation png images for the instance segmentation.

Nitesh3895 avatar May 03 '18 09:05 Nitesh3895

This question is better asked on StackOverflow since it is not a bug or feature request. There is also a larger community that reads questions there.

If you think we've misinterpreted a bug, please comment again with a clear explanation, as well as all of the information requested in the issue template. Thanks!

karmel avatar May 03 '18 16:05 karmel

there is no one answer on stackoverflow

leccyril avatar Jul 13 '18 13:07 leccyril

Hi @SandeepSreenivasan. Did you create your own dataset for instance segmentation?

kaanaykutkabakci avatar Jan 08 '20 12:01 kaanaykutkabakci

VGG Image Annotator

How should be the folder structure in order to train by using tensorflow OD API?

kaanaykutkabakci avatar Jan 13 '20 08:01 kaanaykutkabakci