The models were evaluated on the test set at the end of training in ONNX (CPU) and TensorRT (GPU - T4) formats. Performance metrics included precision, recall, mAP50, and mAP50-95.
Trials
Results Comparison:
Metric
Base Model
Best Trial (#10)
Difference
mAP50
87.47%
95.75%
+8.28%
mAP50-95
65.46%
66.26%
+0.81%
Precision
97.23%
95.61%
-1.63%
Recall
76.16%
91.21%
+15.05%
F1-score
85.42%
93.36%
+7.94%
Results
After hyperparameter tuning of the YOLOv8s model, the best model achieved the following results on the test set:
Precision: 94.74%
Recall: 89.72%
mAP@50: 94.50%
mAP@50-95: 67.35%
Inference Time:
ONNX Runtime (CPU): 171.56 ms
TensorRT (GPU - T4): 7.657 ms
How to Use
The YOLOv8s model can be used via CLI or Python code using the Ultralytics library. Alternatively, it can be used directly with ONNX Runtime or TensorRT.
The final weights are available in the main directory of the repository:
If you want to deploy this signature detection model in a production environment, check out our inference server repository based on the NVIDIA Triton Inference Server.
The model was trained and tuned using a Jupyter Notebook environment.
Operating System: Ubuntu 22.04
Python: 3.10.12
PyTorch: 2.5.1+cu121
Ultralytics: 8.3.58
Roboflow: 1.1.50
Optuna: 4.1.0
ONNX Runtime: 1.20.1
TensorRT: 10.7.0
Hardware
Training was performed on a Google Cloud Platform n1-standard-8 instance with the following specifications:
CPU: 8 vCPUs
GPU: NVIDIA Tesla T4
License
Model Weights (Fine-Tuned Model) – AGPL-3.0
License: GNU Affero General Public License v3.0 (AGPL-3.0)
Usage: The fine-tuned model weights, derived from the YOLOv8 model by Ultralytics, are licensed under AGPL-3.0. This requires that any modifications or derivative works of these model weights also be distributed under AGPL-3.0, and if the model is used as part of a network service, the corresponding source must be made available.
Code, Training, Deployment, and Data – Apache 2.0
License: Apache License 2.0
Usage: All additional materials—including training scripts, deployment code, usage instructions, and associated data—are licensed under the Apache 2.0 license.
For more details, please refer to the full license texts: