bourdakos1 / Custom-Object-Detection

Custom Object Detection with TensorFlow
https://medium.freecodecamp.org/tracking-the-millenium-falcon-with-tensorflow-c8c86419225e
MIT License
347 stars 181 forks source link

why is it asking for trimaps ? #39

Closed skywo1f closed 4 years ago

skywo1f commented 4 years ago

I thought the point of having an images folder and an annotations folder was that that was all the required information for the network to train. But looking at step 6 of https://towardsdatascience.com/custom-object-detection-using-tensorflow-from-scratch-e61da2e10087

create_tf_record needs a trimaps folder as well. Also apparently create_tf_record is not compatible with jpg's? as it is only hardcoded to accept png's

bourdakos1 commented 4 years ago

If you are trying to create an object detection model, I recommend following this tutorial https://docs.annotations.ai/workshops/object-detection/

I think trimaps are used for image segmentation and regarding jpgs vs pngs, I believe the tensorflow object detection api only supports jpgs