yolact
yolact copied to clipboard
Train the final layer
Hi, Thanks for this amazing repository. I am trying to train only the final layer ( network head) with my own very small dataset. How can I do that? Can you please help?
You can do this by following the fine tuning procedure (#36) and then here: https://github.com/dbolya/yolact/blob/f54b0a5b17a7c547e92c4d7026be6542f43862e7/yolact.py#L628 replace that with
p = pred_layer(pred_x.detach())
Hi, I am trying to train on a very small dataset consisting of only 10 train images and 5 val images. When calculating mAP it is remaining everything 0. Is it because the dataset is relatively small? Thanks