Add Docs models JS charts (#18905)

Co-authored-by: UltralyticsAssistant <web@ultralytics.com>
This commit is contained in:
Glenn Jocher 2025-01-26 20:01:56 +01:00 committed by GitHub
parent a9e832b7b1
commit 8a185f6ebe
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 137 additions and 2 deletions

View file

@ -173,7 +173,7 @@ function updateChart(initialDatasets = []) {
label: (tooltipItem) => {
const { dataset, dataIndex } = tooltipItem;
const point = dataset.data[dataIndex];
return `${dataset.label}${point.version.toLowerCase()}: Speed = ${point.x}, mAP = ${point.y}`; // Custom tooltip label.
return `${dataset.label}${point.version.toLowerCase()}: Speed = ${point.x}ms/img, mAP50-95 = ${point.y}`; // Custom tooltip label.
},
},
mode: "nearest",