Devasy23 / FaceRec

An advanced facial recognition system designed for real-time identification using deep learning models and optimized vector search. Features include face detection, embedding generation, and scalable deployment options.
Apache License 2.0
31 stars 30 forks source link

Feat: Add functionality to calculate intra-cluster distances and compare them between original and fine-tuned models #49

Closed Devasy23 closed 3 months ago

Devasy23 commented 3 months ago

This pull request adds functionality to calculate intra-cluster distances and compare them between the original and fine-tuned models. It includes code changes to load the fine-tuned model, extract faces, calculate embeddings, and calculate intra-cluster distances. The results are outputted, including the shift in intra-cluster distances, mean distance change, positive and negative impact, and average effects. This functionality will provide valuable insights into the performance of the fine-tuned model compared to the original model.

Co-authored-by: Devansh Shah devanshnshah11@gmail.com @devansh-shah-11

sonarcloud[bot] commented 3 months ago

Quality Gate Failed Quality Gate failed

Failed conditions
37.8% Coverage on New Code (required ≥ 80%)
E Security Rating on New Code (required ≥ A)

See analysis details on SonarCloud

Catch issues before they fail your Quality Gate with our IDE extension SonarLint