You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello and thank you for your amazing work on the SFace model!
I am currently working on training the SFace model using the repository and have tested it on various datasets. My ultimate goal is to first achieve the same accuracy as your pre-trained model and then train it on my custom dataset. However, I am encountering some issues and discrepancies compared to the official model, and I would greatly appreciate your guidance on resolving them. Below are the details of my observations and questions:
1. Model Size Discrepancy
The size of my trained SFace model is 5.1 MB, while the official model provided in the repository is 39 MB.
What could be causing this significant difference in model size?
Are there specific configurations or components included in the official model that I might be missing?
2. Accuracy Discrepancy
The accuracy of my trained SFace model is significantly lower than the accuracy of your pre-trained model.
What could be the potential reasons for this gap in performance?
What steps or adjustments can I take to improve the accuracy to match your pre-trained model?
3. Output Embedding Size Discrepancy
My trained model produces an embedding size of 512, while I noticed that the official SFace model has an embedding size of 128.
Why is there a difference in the embedding sizes?
How can I configure my training process to produce an embedding size of 128 instead of 512?
4. Training Configuration Review
Below is the configuration I used for training my model. Could you please review it and let me know if there are any parameters or settings that need to be adjusted to achieve results closer to your pre-trained model?
If there is a need for specific changes in the following files, please advise:
sface_torch/config.py
sface_torch/train_SFace_torch.py
sface_torch/backbone/model_mobilefacenet.py
5. Training Parameters and Threshold Details
Training Parameters: What specific parameters did you use to train the official SFace model (e.g., learning rate schedules, optimizer settings, data augmentation techniques, etc.)? This would help me align my training process with yours.
Threshold Details: I noticed the use of a cosine threshold, threshold_cosine = 0.363, in some evaluation scripts.
How was this threshold value determined?
Is it dataset-specific, or is it a general threshold applicable across different datasets?
6. Training Logs for Reference
Below is a sample of my training logs for reference. If you notice anything unusual or suboptimal in the metrics or training behavior, please let me know:
Hello and thank you for your amazing work on the SFace model!
I am currently working on training the SFace model using the repository and have tested it on various datasets. My ultimate goal is to first achieve the same accuracy as your pre-trained model and then train it on my custom dataset. However, I am encountering some issues and discrepancies compared to the official model, and I would greatly appreciate your guidance on resolving them. Below are the details of my observations and questions:
1. Model Size Discrepancy
2. Accuracy Discrepancy
3. Output Embedding Size Discrepancy
4. Training Configuration Review
Below is the configuration I used for training my model. Could you please review it and let me know if there are any parameters or settings that need to be adjusted to achieve results closer to your pre-trained model?
If there is a need for specific changes in the following files, please advise:
sface_torch/config.py
sface_torch/train_SFace_torch.py
sface_torch/backbone/model_mobilefacenet.py
5. Training Parameters and Threshold Details
threshold_cosine = 0.363
, in some evaluation scripts.6. Training Logs for Reference
Below is a sample of my training logs for reference. If you notice anything unusual or suboptimal in the metrics or training behavior, please let me know:
7. Model Conversion to ONNX
I would like to convert my trained SFace model to the ONNX format for deployment.
Thank you so much for your time and assistance! I am looking forward to your insights and recommendations.
The text was updated successfully, but these errors were encountered: