Building YOLOv1 from scratch based on Tensorflow/Keras framework. The fruits dataset contains three categories like apple, banana and orange. This model detects these fruits on the image and draw bounding on it. The dataset contains 240 training images with four categories (apple, banana, orange, mixed), and the test set contains 60 images.
YOLOv1 paper: https://arxiv.org/abs/1506.02640
The YOLOv2 built from scratch is here!!!. This new repository helps us increase knowledge of anchor boxes.
YOLOv1 architecture:
YOLOv1 loss:
The model and loss function was built according to the paper. The model contains one Dropout layer with rate = 0.5. Training images was random changed brightness with max_delta
= 1 and saturation with lower
= 0.5 and upper
= 1.5.
Training set contains 240 images and 240 annotation (.xml) files, testing set contains 60 images and 60 annotation (.xml) files.
The model was trained approximately 10000 epochs and that lasts total over 4 days.
Detect apple
Detect banana
Detect orange
Detect mixed