Downloads · 30 days
0
IBBI-bio/ibbi_rtdetr_od
ibbi_rtdetr_od is a machine learning model from IBBI-bio. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
- Model Name: rtdetrxbbdetectmodel - Model Type: Single-Class Object Detection and Feature Extractor - Description: This model is designed to detect the presence of bark beetles in images. It identifies and places a b…
Downloads · 30 days
0
Access
Public
Updated Oct 7, 2025
Repo size
271 MB
Likes
0
Public
Click a slice to open those files.
.pt135 MB · 100%
From the Hugging Face model README
rtdetrx_bb_detect_modelTo understand the model's capabilities, its performance was tested on two different types of datasets:
The model's ability to correctly identify and locate bark beetles is measured by its mean Average Precision (mAP). This metric evaluates both the accuracy of the bounding box placement and the classification confidence. The score is averaged over multiple Intersection over Union (IoU) thresholds, from 50% overlap (0.50) to 95% overlap (0.95), providing a comprehensive view of prediction accuracy. A higher mAP score indicates better performance.
| Dataset | mAP (0.50 : 0.95) | Notes |
|---|---|---|
| In-Distribution (ID) | 0.9243 | Excellent performance at lower precision requirements ([email protected] = 0.99), but accuracy drops for more precise bounding boxes ([email protected] = 0.72). |
| Out-of-Distribution (OOD) | 0.9541 | Superior performance with more consistent precision across all IoU thresholds ([email protected] = 0.81). |
The model can also convert images into numerical representations (embeddings). The quality of these embeddings is evaluated by how well they group similar species together in a feature space.
These metrics measure the quality of the clusters formed by the embeddings without referring to ground-truth labels. They assess how dense and well-separated the clusters are.
| Metric | ID Score | OOD Score | Interpretation |
|---|---|---|---|
| Silhouette Score | 0.6128 | 0.4248 | Measures how similar an object is to its own cluster compared to others. Higher is better (closer to 1). The ID embeddings form better-defined clusters. |
| Davies-Bouldin Index | 0.3335 | 0.3406 | Measures the average similarity between each cluster and its most similar one. Lower is better (closer to 0). The ID embeddings show slightly less overlap between clusters. |
| Calinski-Harabasz Index | 618.045 | 482.346 | Measures the ratio of between-cluster dispersion to within-cluster dispersion. Higher is better. The ID embeddings form denser and more separated clusters. |
These metrics evaluate the clustering performance by comparing the results to the true species labels.
| Metric | ID Score | OOD Score | Interpretation |
|---|---|---|---|
| Adjusted Rand Index (ARI) | 0.1283 | 0.0049 | Measures the similarity between true and predicted labels, correcting for chance. Higher is better (closer to 1). |
| Normalized Mutual Info (NMI) | 0.4036 | 0.2612 | Measures the agreement between the clustering and the true labels. Higher is better (closer to 1). |
| Cluster Purity | 0.2624 | 0.1142 | Measures the extent to which clusters contain a single class. Higher is better (closer to 1). |
Conclusion: The external validation scores are low for both datasets, indicating the model's feature representations do not effectively separate different species of bark beetles on their own.
This test determines if the model's learned features correlate with the evolutionary relationships (phylogeny) between different bark beetle species.
| Dataset | Mantel R-statistic | p-value | Interpretation |
|---|---|---|---|
| In-Distribution (ID) | -0.0928 | 0.3530 | There is no statistically significant correlation between the model's feature embeddings and the species' evolutionary history. |
| Out-of-Distribution (OOD) | -0.0309 | 0.7530 | There is no statistically significant correlation for the OOD data either. |