image_similarity icon indicating copy to clipboard operation
image_similarity copied to clipboard

Fine-tuning

Open fiastros opened this issue 3 years ago • 2 comments

I'm working on cat facial recognition. so my first idea was to calculate the distance between two embedded cat faces. Is it possible to retrain/fine tune the embedding models for such task ?

Thank you.

fiastros avatar May 05 '21 08:05 fiastros

Yes of coure you can retrain these models on any dataset. The training scripts are provided here. Note that this similarity search works on unlabelled data. It can help to compute distance between two cat faces.

But a few thoughts about cat facial recongition. You can probably label the data and train a object detector such as FasterRCNN. These are available in torchvision. It would work better and faster.

oke-aditya avatar May 05 '21 08:05 oke-aditya

Thank you for your advice. I have tried yolov5 for object detection: it works fine but the issue is that it needs lots of images for new faces, and it needs retrain each time....

fiastros avatar May 05 '21 09:05 fiastros