Transfer Learning on yolov8 object detection weights

Hello community!

I am working on yolov8 object detection model. I have a data of around 1800 images (and their corresponding labels). I trained the data on pretrained yolov8-m weights for 70 epochs. After the training I got my best.pt weight file. I got decent detections with weight file.
For transfer learning, I used this best.pt file and trained around 2000 images (and their corresponding labels) on that weight file for 50 epochs. Now, when I am doing the detection, there is a significant accuracy drop. When I read a few forums and articles, the concept of freezing the layers is iterated. But there is no information on how many layers needs to be freezed and why do we need to freeze the layers.
If anyone knows about this concept, It would be great if you share your insights :rocket:

1 Like

I have no idea, so I went searching.