Remove duplicate result appending logic (#23218)

Signed-off-by: xusuyong <107761330+xusuyong@users.noreply.github.com>
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
This commit is contained in:
xusuyong 2026-01-16 04:26:07 +08:00 committed by GitHub
parent 83b8227417
commit d9e9f318de
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 8 deletions

View File

@ -32,7 +32,7 @@ The VOC dataset is split into three subsets:
1. **Train**: This subset contains images for training object detection, segmentation, and classification models.
2. **Validation**: This subset has images used for validation purposes during model training.
3. **Test**: This subset consists of images used for testing and benchmarking the trained models. Ground truth annotations for this subset are not publicly available, and the results are submitted to the [PASCAL VOC evaluation server](http://host.robots.ox.ac.uk:8080/leaderboard/displaylb.php) for performance evaluation.
3. **Test**: This subset consists of images used for testing and benchmarking the trained models. Ground truth annotations for this subset are not publicly available, and the results were historically submitted to the PASCAL VOC evaluation server for performance evaluation.
## Applications

View File

@ -782,13 +782,6 @@ class Results(SimpleClass, DataExportMixin):
"confidence": round(conf, decimals),
}
)
results.append(
{
"name": self.names[class_id],
"class": class_id,
"confidence": round(conf, decimals),
}
)
return results
is_obb = self.obb is not None