What is Colab or Colaboratory?
Colaboratory is a free Jupyter notebook environment that requires no setup and runs entirely in the cloud. With Colaboratory you can write and execute code, save and share your analyses, and access powerful computing resources, all for free from your browser.
TensorFlow Object Detection API
- ssd_mobilenet_v1_coco
- ssd_inception_v2_coco
- rfcn_resnet101_coco
- faster_rcnn_resnet101_coco
- faster_rcnn_inception_resnet_v2_atrous_coco
Now its time to getting stared with our Custom Object Detection Training using TensorFlow, Below are the steps which we need to perform as a pre-requisite before training.
Now its time to getting stared with our Custom Object Detection Training using TensorFlow, Below are the steps which we need to perform as a pre-requisite before training.
- Download the images from google that contain your object, the minimum number of images must be 100 and the ideal limit is greater than 500.
- After collecting images just named the images as a readable format like (1,2,3,... or image_name_1,image_name_2.... and so on).
- Image annotation, to annotate images you can use LabelImg tool. The purpose of annotation is to draw a bounding box around your object or objects from full picture. The LabelImg tool will automatically create a XML file that describe your object in the picture.
- After annotation, we will separate our data (Images + XML) into "train" and "test" folders. For example if we have 100 images, than the separation would be 80/20 (80 percent of images for training, 20 percent of images for testing). There is no hard and fast rule for separation, you can choose any percentage.
- By using these separation the next step is to create TensorFlow Records (TF Records). TensorFlow Object Detection API code will create "train.record" and "test.record" files for us. In coming tutorials we will discuss how to create TF Records in details.
- After creating TF Records, the next step is to setup ".config" file for the model (Which we have discussed above).
- The next step is Training
- Export graph (Inference Graph) from trained model.
- Detect custom object using our trained model.
These are the steps which we will follow in our coming tutorial. Now its time to implement our first step.
1- Download Images of your Interest
In the next tutorial we will annotate the downloaded images.
1 Comments
NEXT STEPS ?
ReplyDelete