0
votes

please help me with training my own dataset on mask_rcnn_inception_resnet_v2_atrous_coco model. https://github.com/tensorflow/models/tree/master/research/object_detection

model:https://github.com/tensorflow/models/blob/master/research/object_detection/g3doc/detection_model_zoo.md

I have refered to https://github.com/tensorflow/models/blob/master/research/object_detection/g3doc/instance_segmentation.md ; but I can't clearly understand the steps.

Do we have to give the Bounding box coordinates of the object along with the mask.png file?

How to convert the mask data to tfRecord files (for instance segmentation).?

Can anyone suggest the labelling tool used for bounding box as well as mask.png file!!

tools like LabelBox, labelme, labelimg gives either bounding box coordinated or mask.png file or the polygon coordinates for the object. please help

2
what i know is use labelis you picture it will create XML file , then you create a mask , in polygon or in PNG, i will do it in PNG but then i don't know how to use it - cyril

2 Answers

0
votes

The best you give png mask and xml labelization it should be working with create_pet_tf_record.py, set faces_only=false in this file... You can see into the code what is expected in this file..

change path into to point your directories in pipeline configuration

0
votes

Do we have to give the Bounding box coordinates of the object along with the mask.png file?

Answer: Yes, you need the original images, bounding box files, and mask images.

Use the following tool to annotate each object in your original images Label image

Once you're done with this, you need to annotate each pixel inside each bounding box. There are several tools you can use, for example you can use these tool VGG annotator