Add finetuning script and initial implementation#1
Merged
Conversation
Add initial implementation of DeepTurne package for fine-tuning CV-based deep models using Siamese architecture with triplet loss function. * **README.md** - Add project description, installation instructions, and usage examples. * **deepturne/__init__.py** - Initialize the `deepturne` package. * **deepturne/triplet_loss.py** - Implement custom triplet loss function. * **deepturne/backbones.py** - Add support for model backbones including ResNet, VGG, Inception, MobileNet, EfficientNet, Facenet, and Arcface. - Load pre-trained weights for Facenet and Arcface models. * **deepturne/data_preprocessing.py** - Implement data preprocessing steps including normalization, resizing, augmentation, and triplet creation. * **deepturne/evaluation_metrics.py** - Implement evaluation metrics including accuracy, precision, recall, F1 score, mean average precision (mAP), ROC-AUC, and triplet loss. * **deepturne/datasets.py** - Add support for downloading and loading basic datasets for fine-tuning, such as LFW, using TensorFlow Datasets (TFDS). * **deepturne/test_finetuning.py** - Implement a script to test the fine-tuning of at least one model for a few epochs. --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/Devasy23/DeepTurne?shareId=XXXX-XXXX-XXXX-XXXX).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add initial implementation of DeepTurne package for fine-tuning CV-based deep models using Siamese architecture with triplet loss function.
README.md
deepturne/init.py
deepturnepackage.deepturne/triplet_loss.py
deepturne/backbones.py
deepturne/data_preprocessing.py
deepturne/evaluation_metrics.py
deepturne/datasets.py
deepturne/test_finetuning.py
For more details, open the Copilot Workspace session.