Spaces:
Running
Running
Upload folder using huggingface_hub
Browse files144 unmodified lines14514614714814915031 unmodified lines182183184185186187264 unmodified lines45245345445545645745845946046146246346446546646746846947011 unmodified lines48248348448548648748848949049149249315 unmodified lines50951051151251351451551651751851952052152252352420 unmodified lines54554654754854955055116 unmodified lines56856957057157257357459 unmodified lines634635636637638639640641642179 unmodified lines82282382482582682782882983083183283383433 unmodified lines86886987087187287387487595 unmodified lines97197297397497597697797897998098198298398498598698798898999099199299311 unmodified lines1005100610071008100910101011108 unmodified lines1120112111221123112411251126182 unmodified lines13091310131113121313131413151316131713181319132013217 unmodified lines13291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135521 unmodified lines13771378137913801381138213831384138513861387138813891 unmodified line139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814195 unmodified lines1425142614271428142914301431143214331434143514361437144 unmodified linesborder-bottom: 2px solid var(--border-strong);text-transform: uppercase; letter-spacing: 0.03em; font-size: 0.72rem;}table.dt td {padding: 0.5rem 0.65rem; border-bottom: 1px solid var(--border);vertical-align: middle;31 unmodified linesfont-family: var(--mono); font-weight: 600; font-size: 0.72rem;}.cell-val { color: var(--good); background: var(--good-bg); padding: 0.15rem 0.35rem; border-radius: 3px; }.cell-plan { color: var(--warn); background: var(--warn-bg); padding: 0.15rem 0.35rem; border-radius: 3px; }.cell-none { color: var(--text-muted); opacity: 0.5; }.cell-target { color: var(--text-muted); background: #f4f4f4; padding: 0.15rem 0.35rem; border-radius: 3px; }264 unmodified lines</div></div><div class="section"><div class="section-header"><h2>Accuracy vs On-target Throughput</h2><span class="section-note">COCO val2017 Β· pipelined FPS measured on each platform by the <a href="https://doc.edgefirst.ai/latest/profiler/" target="_blank" rel="noopener" style="color:var(--teal-text)">EdgeFirst Profiler</a></span></div><div class="chart-host" style="height:420px"><canvas id="chart-det-fps"></canvas></div><p style="font-family:var(--serif);color:var(--text-muted);font-size:0.82rem;margin-top:0.5rem">Each point is a public validation session: color = platform, shape = model family(β YOLOv5 Β· β YOLOv8 Β· β² YOLO11 Β· β YOLO26). X axis is sustained pipelined throughput on a logscale β the full image load β decode β preprocess β inference β postprocess pipeline, not bareinference time. β flagged sessions are shown at their measured accuracy.</p></div><div class="section"><div class="section-header"><h2>Nano Segmentation β Mask mAP</h2><span class="section-note">YOLOv8 / YOLO11 / YOLO26, COCO val2017</span>11 unmodified lines</div><div class="section"><div class="section-header"><h2>On-target Timing</h2><span class="section-note">Measured by the <a href="https://doc.edgefirst.ai/latest/profiler/" target="_blank" rel="noopener" style="color:var(--teal-text)">EdgeFirst Profiler</a> on deployment hardware</span></div><div id="timing-host"><p style="font-family:var(--serif);color:var(--text-muted);font-size:0.92rem">On-target latency and throughput results are being collected across the platform matrix.See the <a href="https://doc.edgefirst.ai/latest/profiler/" target="_blank" rel="noopener" style="color:var(--teal-text)">EdgeFirst Profiler documentation</a>for how profiling and validation are performed.</p>15 unmodified lines</div><table class="dt" id="studio-table" style="display:none"><thead><tr><th>Session</th><th>Family Β· Task</th><th>Target</th><th>Precision</th><th>Det mAP<sub>50</sub></th><th>Det mAP<sub>50-95</sub></th><th>Mask mAP<sub>50-95</sub></th><th>Inf (ms)</th><th>E2E (ms)</th><th>FPS</th><th>Studio</th></tr></thead><tbody id="studio-body"></tbody>20 unmodified lines<div class="coverage-wrap"><table class="matrix" id="coverage-seg"></table></div></div><div class="legend"><span><span class="swatch" style="background:var(--good-bg);border:1px solid var(--good)"></span>Validated β public results on EdgeFirst Studio</span><span><span class="swatch" style="background:transparent;border:1px solid var(--border)"></span>Validation pending</span></div></section>16 unmodified lines<section class="tab-panel" id="tab-leaderboard"><div class="section"><div class="section-header"><h2>Platform Throughput Leaderboard</h2><span class="section-note">Best sustained pipelined throughput measured per platform Β· full image load β decode β preprocess β inference β postprocess pipeline</span></div><table class="dt"><thead><tr>59 unmodified lines// Platforms as rows: hosts (reference) first, then embedded targets, then Jetson.// `match` is tested (in order) against the Studio target/footer string to map a// validation session onto a platform row.const PLATFORM_ROWS = [{ key: "linux-x86", label: "Linux x86_64", detail: "ONNX Runtime + CUDA", group: "reference", color: "#6C757D", match: /linux|x86|cuda/ },{ key: "m2max", label: "Apple M2 Max", detail: "ONNX + CoreML (CPU, GPU, ANE)", group: "reference", color: "#4B0082", match: /macos|coreml/ },{ key: "imx8mp", label: "NXP i.MX 8M Plus", detail: "VSI NPU Β· TFLite INT8", group: "embedded", color: "#E8B820", match: /imx8mp/ },{ key: "imx93", label: "NXP i.MX 93", detail: "Ethos-U65 Β· VELA TFLite", group: "embedded", color: "#8B7DC4", match: /imx93/ },{ key: "imx95", label: "NXP i.MX 95", detail: "eIQ Neutron Β· TFLite INT8", group: "embedded", color: "#1FA0A8", match: /imx95/ },179 unmodified linesconst SIZE_NAMES = { n: "Nano", s: "Small", m: "Medium" };// Build a lookup of validated (task, version, size, platform) cells from the// embedded Studio sessions.function coverageLookup() {const seen = {};for (const s of (STUDIO?.sessions ?? [])) {const p = platformRowForSession(s);if (!p || !s.has_metrics) continue;seen[`${s.task_key}|${s.version_key}|${s.size}|${p.key}`] = true;}return seen;}33 unmodified linesfor (const v of versions) {for (const sz of COVERAGE_SIZES) {const td = el("td");if (seen[`${taskKey}|${v}|${sz}|${p.key}`]) {td.innerHTML = '<span class="cell cell-val">β</span>';} else {td.innerHTML = '<span class="cell cell-none">β</span>';}95 unmodified lines}));}// Cross-platform throughput board: ranks platforms by their best measured// pipelined FPS (accuracy intentionally not ranked here).function renderPlatformThroughput() {const host = document.getElementById("platform-fps-body");if (!host) return;host.innerHTML = "";const rows = [];for (const p of PLATFORM_ROWS) {let top = null;for (const s of (STUDIO?.sessions ?? [])) {const pr = platformRowForSession(s);if (!pr || pr.key !== p.key || s.fps_median == null) continue;if (!top || s.fps_median > top.fps_median) top = s;}if (top) rows.push({ p, s: top });}rows.sort((a, b) => b.s.fps_median - a.s.fps_median);for (let i = 0; i < rows.length; i++) {const { p, s } = rows[i];const tr = el("tr");11 unmodified linesfunction renderLeaderboard() {const grid = document.getElementById("leaderboard-grid");grid.innerHTML = "";const platforms = PLATFORM_ROWS.filter(p => lbGroup === "all" || p.group === lbGroup);const metricLabel = lbMetric === "fps"? "Pipelined throughput FPS (higher is better)": "mAP@0.5-0.95 (higher is better)";108 unmodified linesconst datasets = PLATFORM_ROWS.filter(p => byPlatform[p.key]).map(p => {const pts = byPlatform[p.key];return {label: p.label,data: pts.map(s => ({x: s.fps_median,y: s.det_map_50_95,182 unmodified linesreturn v > 0 ? v : null;}function studioSessionLabel(s) {const sz = s.size ? s.size.toUpperCase() : "?";const tk = s.task_key === "det" ? "Det" : "Seg";const tgt = s.target_label || s.target_raw || s.format_key || "?";return `${s.version_key?.toUpperCase()}${sz}-${tk} Β· ${tgt}`;}function renderStudio() {const table = document.getElementById("studio-table");const empty = document.getElementById("studio-empty");7 unmodified linesempty.style.display = "none";table.style.display = "";const okCount = STUDIO.counts?.sessions_ok ?? STUDIO.counts?.ok ?? STUDIO.sessions.length;source.innerHTML = `updated <code>${STUDIO.generated_at}</code> Β· ${okCount} public sessions Β· every row links to <a href="https://edgefirst.studio" target="_blank" rel="noopener" style="color:var(--teal-text)">EdgeFirst Studio</a>`;const body = document.getElementById("studio-body");body.innerHTML = "";// Sort: detection first, then by version, size, target_key/raw, precisionconst sizeOrder = ["n", "s", "m", "l", "x"];const targetOrder = ["onnx", "tflite", "imx93", "imx95", "imx8mp", "ara240", "hailo8l", "hailo8", "hailo10", "engine"];const sessions = STUDIO.sessions.slice().sort((a, b) => {if (a.task_key !== b.task_key) return a.task_key.localeCompare(b.task_key);const ai = VERSION_ORDER.indexOf(a.version_key);const bi = VERSION_ORDER.indexOf(b.version_key);if (ai !== bi) return ai - bi;const si = sizeOrder.indexOf(a.size), sj = sizeOrder.indexOf(b.size);if (si !== sj) return si - sj;const ti = targetOrder.indexOf(a.target_key) === -1 ? 99 : targetOrder.indexOf(a.target_key);const tj = targetOrder.indexOf(b.target_key) === -1 ? 99 : targetOrder.indexOf(b.target_key);if (ti !== tj) return ti - tj;return (a.precision || "").localeCompare(b.precision || "");});for (const s of sessions) {const total = totalMs(s);const tr = el("tr");21 unmodified lines}}// On-target timing β Pareto chart using Studio inference timing if availablefunction renderTiming() {const host = document.getElementById("timing-host");if (!host) return;const usable = (STUDIO?.sessions ?? []).filter(s =>typeof s.avg_inference_ms === "number" && s.avg_inference_ms > 0 &&typeof s.det_map_50_95 === "number");if (usable.length === 0) {// leave the default placeholder copy1 unmodified line}host.innerHTML = `<div class="chart-host" style="height:360px"><canvas id="chart-timing"></canvas></div><p style="font-family:var(--serif);color:var(--text-muted);font-size:0.82rem;margin-top:0.5rem">Each point is a public Studio validation session Β· X = average inference time (ms) Β· Y = mAP@0.5-0.95 Β·colored by model family. Timing is measured on the deployment hardware by the<a href="https://doc.edgefirst.ai/latest/profiler/" target="_blank" rel="noopener" style="color:var(--teal-text)">EdgeFirst Profiler</a>.</p>`;const byVersion = {};for (const s of usable) {(byVersion[s.version_key] ||= []).push({x: s.avg_inference_ms,y: s.det_map_50_95,label: studioSessionLabel(s),});}const datasets = Object.entries(byVersion).map(([v, pts]) => ({label: v.toUpperCase(),data: pts,backgroundColor: COLORS[v] ?? "#888",borderColor: COLORS[v] ?? "#888",pointRadius: 7, pointHoverRadius: 10,}));destroyChart("timing");charts.timing = new Chart(document.getElementById("chart-timing"), {5 unmodified lineslegend: { display: true, position: "bottom" },tooltip: {callbacks: {label: (ctx) => `${ctx.raw.label}: ${ctx.parsed.y}% mAP @ ${ctx.parsed.x} ms`,},},},scales: {x: { title: { display: true, text: "Avg inference time (ms, lower = faster)" }, beginAtZero: true,ticks: { font: { family: "monospace", size: 10 } } },y: { title: { display: true, text: "mAP@0.5-0.95 (%)" }, beginAtZero: false,ticks: { font: { family: "monospace", size: 10 } } },},144 unmodified lines14514614714814915015115215331 unmodified lines185186187188189190191192264 unmodified lines45745845946046146211 unmodified lines47447547647747847948048148248348448548648748848949049149249349449549649749815 unmodified lines51451551651751851952052152252352452552652752852920 unmodified lines55055155255355455555616 unmodified lines57357457557657757857959 unmodified lines639640641642643644645646647648649650651652179 unmodified lines83283383483583683783883984084184284384484584684784884985085133 unmodified lines88588688788888989089189289395 unmodified lines989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101511 unmodified lines10271028102910301031103210331034108 unmodified lines1143114411451146114711481149182 unmodified lines1332133313341335133613377 unmodified lines13451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143721 unmodified lines14591460146114621463146414651466146714681469147014711 unmodified line147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915105 unmodified lines151615171518151915201521152215231524152515261527152815291530144 unmodified linesborder-bottom: 2px solid var(--border-strong);text-transform: uppercase; letter-spacing: 0.03em; font-size: 0.72rem;}table.dt th[data-sort] { cursor: pointer; user-select: none; white-space: nowrap; }table.dt th[data-sort]:hover { color: var(--navy); }table.dt th .sort-ind { color: var(--gold); margin-left: 0.2rem; }table.dt td {padding: 0.5rem 0.65rem; border-bottom: 1px solid var(--border);vertical-align: middle;31 unmodified linesfont-family: var(--mono); font-weight: 600; font-size: 0.72rem;}.cell-val { color: var(--good); background: var(--good-bg); padding: 0.15rem 0.35rem; border-radius: 3px; }a.cell-val { text-decoration: none; cursor: pointer; }a.cell-val:hover { background: var(--good); color: #fff; }.cell-plan { color: var(--warn); background: var(--warn-bg); padding: 0.15rem 0.35rem; border-radius: 3px; }.cell-none { color: var(--text-muted); opacity: 0.5; }.cell-target { color: var(--text-muted); background: #f4f4f4; padding: 0.15rem 0.35rem; border-radius: 3px; }264 unmodified lines</div></div><div class="section"><div class="section-header"><h2>Nano Segmentation β Mask mAP</h2><span class="section-note">YOLOv8 / YOLO11 / YOLO26, COCO val2017</span>11 unmodified lines</div><div class="section"><div class="section-header"><h2>Accuracy vs On-target Throughput</h2><span class="section-note">COCO val2017 Β· pipelined FPS measured on each platform by the <a href="https://doc.edgefirst.ai/latest/profiler/" target="_blank" rel="noopener" style="color:var(--teal-text)">EdgeFirst Profiler</a></span></div><div class="chart-host" style="height:420px"><canvas id="chart-det-fps"></canvas></div><p style="font-family:var(--serif);color:var(--text-muted);font-size:0.82rem;margin-top:0.5rem">Each point is a public validation session: color = platform, shape = model family(β YOLOv5 Β· β YOLOv8 Β· β² YOLO11 Β· β YOLO26). X axis is sustained pipelined throughput on a logscale β the full image load β decode β preprocess β inference β postprocess pipeline, not bareinference time. β flagged sessions are shown at their measured accuracy.</p></div><div class="section"><div class="section-header"><h2>Accuracy vs On-target Latency</h2><span class="section-note">End-to-end per-image latency measured by the <a href="https://doc.edgefirst.ai/latest/profiler/" target="_blank" rel="noopener" style="color:var(--teal-text)">EdgeFirst Profiler</a> on deployment hardware</span></div><div id="timing-host"><p style="font-family:var(--serif);color:var(--text-muted);font-size:0.92rem">On-target latency results are being collected across the platform matrix.See the <a href="https://doc.edgefirst.ai/latest/profiler/" target="_blank" rel="noopener" style="color:var(--teal-text)">EdgeFirst Profiler documentation</a>for how profiling and validation are performed.</p>15 unmodified lines</div><table class="dt" id="studio-table" style="display:none"><thead><tr><th data-sort="session">Session</th><th data-sort="family">Family Β· Task</th><th data-sort="target">Target</th><th data-sort="precision">Precision</th><th data-sort="det50">Det mAP<sub>50</sub></th><th data-sort="det5095">Det mAP<sub>50-95</sub></th><th data-sort="mask">Mask mAP<sub>50-95</sub></th><th data-sort="inf">Inf (ms)</th><th data-sort="e2e">E2E (ms)</th><th data-sort="fps">FPS</th><th>Studio</th></tr></thead><tbody id="studio-body"></tbody>20 unmodified lines<div class="coverage-wrap"><table class="matrix" id="coverage-seg"></table></div></div><div class="legend"><span><span class="swatch" style="background:var(--good-bg);border:1px solid var(--good)"></span>Validated β click β to open the proving session on EdgeFirst Studio</span><span><span class="swatch" style="background:transparent;border:1px solid var(--border)"></span>Validation pending</span></div></section>16 unmodified lines<section class="tab-panel" id="tab-leaderboard"><div class="section"><div class="section-header"><h2>Platform Throughput Leaderboard</h2><span class="section-note">Top 20 fastest validated model Γ platform results Β· full image load β decode β preprocess β inference β postprocess pipeline</span></div><table class="dt"><thead><tr>59 unmodified lines// Platforms as rows: hosts (reference) first, then embedded targets, then Jetson.// `match` is tested (in order) against the Studio target/footer string to map a// validation session onto a platform row.// The three CoreML compute units are separate accelerators on one host β// each gets its own coverage row, but only the ANE (the fastest) is ranked// in leaderboards; CPU/GPU numbers remain in the validation sessions table.const PLATFORM_ROWS = [{ key: "linux-x86", label: "Linux x86_64", detail: "ONNX Runtime + CUDA", group: "reference", color: "#6C757D", match: /linux|x86|cuda/ },{ key: "m2max-ane", label: "Apple M2 Max", detail: "ONNX + CoreML ANE", group: "reference", color: "#4B0082", match: /coreml-ane/ },{ key: "m2max-gpu", label: "Apple M2 Max", detail: "ONNX + CoreML GPU", group: "reference", color: "#7A4FB3", match: /coreml-gpu/, leaderboard: false },{ key: "m2max-cpu", label: "Apple M2 Max", detail: "ONNX + CoreML CPU", group: "reference", color: "#A98FD0", match: /coreml-cpu|macos|coreml/, leaderboard: false },{ key: "imx8mp", label: "NXP i.MX 8M Plus", detail: "VSI NPU Β· TFLite INT8", group: "embedded", color: "#E8B820", match: /imx8mp/ },{ key: "imx93", label: "NXP i.MX 93", detail: "Ethos-U65 Β· VELA TFLite", group: "embedded", color: "#8B7DC4", match: /imx93/ },{ key: "imx95", label: "NXP i.MX 95", detail: "eIQ Neutron Β· TFLite INT8", group: "embedded", color: "#1FA0A8", match: /imx95/ },179 unmodified linesconst SIZE_NAMES = { n: "Nano", s: "Small", m: "Medium" };// Build a lookup of validated (task, version, size, platform) cells from the// embedded Studio sessions. Each cell keeps the best proving session (smart// decoder preferred, then highest mAP) so the β can link to it.function coverageLookup() {const seen = {};for (const s of (STUDIO?.sessions ?? [])) {const p = platformRowForSession(s);if (!p || !s.has_metrics) continue;const key = `${s.task_key}|${s.version_key}|${s.size}|${p.key}`;const metric = s.det_map_50_95 ?? s.mask_map_50_95 ?? 0;const isSmart = isSmartSession(s);const cur = seen[key];if (!cur || (isSmart && !cur.isSmart) || (isSmart === cur.isSmart && metric > cur.metric)) {seen[key] = { s, metric, isSmart };}}return seen;}33 unmodified linesfor (const v of versions) {for (const sz of COVERAGE_SIZES) {const td = el("td");const hit = seen[`${taskKey}|${v}|${sz}|${p.key}`];if (hit) {td.innerHTML = `<a class="cell cell-val" href="${hit.s.url}" target="_blank" rel="noopener" title="Open validation session ${hit.s.session_id} on EdgeFirst Studio">β</a>`;} else {td.innerHTML = '<span class="cell cell-none">β</span>';}95 unmodified lines}));}// Cross-platform throughput board: the top 20 fastest validated// model Γ platform results by pipelined FPS (accuracy intentionally not// ranked here; smart decoder preferred over logical duplicates).function renderPlatformThroughput() {const host = document.getElementById("platform-fps-body");if (!host) return;host.innerHTML = "";const best = {};for (const s of (STUDIO?.sessions ?? [])) {const p = platformRowForSession(s);if (!p || p.leaderboard === false || s.fps_median == null) continue;const key = `${p.key}|${s.task_key}|${s.version_key}|${s.size}`;const isSmart = isSmartSession(s);const cur = best[key];if (!cur || (isSmart && !cur.isSmart) || (isSmart === cur.isSmart && s.fps_median > cur.s.fps_median)) {best[key] = { p, s, isSmart };}}const rows = Object.values(best).sort((a, b) => b.s.fps_median - a.s.fps_median).slice(0, 20);for (let i = 0; i < rows.length; i++) {const { p, s } = rows[i];const tr = el("tr");11 unmodified linesfunction renderLeaderboard() {const grid = document.getElementById("leaderboard-grid");grid.innerHTML = "";const platforms = PLATFORM_ROWS.filter(p =>p.leaderboard !== false && (lbGroup === "all" || p.group === lbGroup));const metricLabel = lbMetric === "fps"? "Pipelined throughput FPS (higher is better)": "mAP@0.5-0.95 (higher is better)";108 unmodified linesconst datasets = PLATFORM_ROWS.filter(p => byPlatform[p.key]).map(p => {const pts = byPlatform[p.key];return {label: `${p.label} ${p.detail.includes("CoreML") ? p.detail.replace("ONNX + ", "") : ""}`.trim(),data: pts.map(s => ({x: s.fps_median,y: s.det_map_50_95,182 unmodified linesreturn v > 0 ? v : null;}function renderStudio() {const table = document.getElementById("studio-table");const empty = document.getElementById("studio-empty");7 unmodified linesempty.style.display = "none";table.style.display = "";const okCount = STUDIO.counts?.sessions_ok ?? STUDIO.counts?.ok ?? STUDIO.sessions.length;source.innerHTML = `updated <code>${STUDIO.generated_at}</code> Β· ${okCount} public sessions Β· every row links to <a href="https://edgefirst.studio" target="_blank" rel="noopener" style="color:var(--teal-text)">EdgeFirst Studio</a> Β· click a column header to sort`;// Attach sort handlers oncetable.querySelectorAll("th[data-sort]").forEach(th => {if (th.dataset.bound) return;th.dataset.bound = "1";th.addEventListener("click", () => {const key = th.dataset.sort;if (studioSortKey === key) {studioSortDir = -studioSortDir;} else {studioSortKey = key;// Metrics default to descending (best first), text to ascending.studioSortDir = ["session", "family", "target", "precision"].includes(key) ? 1 : -1;}renderStudioBody();});});renderStudioBody();}const SIZE_ORDER = ["n", "s", "m", "l", "x"];const STUDIO_SORT_ACCESSORS = {session: s => s.session_name || s.session_id || "",family: s => `${String(VERSION_ORDER.indexOf(s.version_key)).padStart(2, "0")}|${s.task_key}|${SIZE_ORDER.indexOf(s.size)}`,target: s => s.target_label || s.target_raw || "",precision: s => s.precision || "",det50: s => s.det_map_50,det5095: s => s.det_map_50_95,mask: s => s.mask_map_50_95,inf: s => s.avg_inference_ms,e2e: s => totalMs(s),fps: s => s.fps_median,};let studioSortKey = null;let studioSortDir = 1;function sortedStudioSessions() {const sessions = STUDIO.sessions.slice();if (studioSortKey && STUDIO_SORT_ACCESSORS[studioSortKey]) {const acc = STUDIO_SORT_ACCESSORS[studioSortKey];sessions.sort((a, b) => {const va = acc(a), vb = acc(b);if (va == null && vb == null) return 0;if (va == null) return 1; // nulls always lastif (vb == null) return -1;const c = (typeof va === "number" && typeof vb === "number")? va - vb: String(va).localeCompare(String(vb));return c * studioSortDir;});return sessions;}// Default: detection first, then by version, size, target, precisionconst targetOrder = ["onnx", "tflite", "imx93", "imx95", "imx8mp", "ara240", "hailo8l", "hailo8", "hailo10", "engine"];return sessions.sort((a, b) => {if (a.task_key !== b.task_key) return a.task_key.localeCompare(b.task_key);const ai = VERSION_ORDER.indexOf(a.version_key);const bi = VERSION_ORDER.indexOf(b.version_key);if (ai !== bi) return ai - bi;const si = SIZE_ORDER.indexOf(a.size), sj = SIZE_ORDER.indexOf(b.size);if (si !== sj) return si - sj;const ti = targetOrder.indexOf(a.target_key) === -1 ? 99 : targetOrder.indexOf(a.target_key);const tj = targetOrder.indexOf(b.target_key) === -1 ? 99 : targetOrder.indexOf(b.target_key);if (ti !== tj) return ti - tj;return (a.precision || "").localeCompare(b.precision || "");});}function renderStudioBody() {const table = document.getElementById("studio-table");const body = document.getElementById("studio-body");body.innerHTML = "";// Header sort indicatorstable.querySelectorAll("th[data-sort]").forEach(th => {th.querySelector(".sort-ind")?.remove();if (th.dataset.sort === studioSortKey) {th.insertAdjacentHTML("beforeend",`<span class="sort-ind">${studioSortDir === 1 ? "β²" : "βΌ"}</span>`);}});const sessions = sortedStudioSessions();for (const s of sessions) {const total = totalMs(s);const tr = el("tr");21 unmodified lines}}// Accuracy vs on-target latency β end-to-end per-image wall time, encoded// like the throughput chart: color = platform, shape = model family.function renderTiming() {const host = document.getElementById("timing-host");if (!host) return;const usable = (STUDIO?.sessions ?? []).filter(s =>s.task_key === "det" && totalMs(s) != null && typeof s.det_map_50_95 === "number");if (usable.length === 0) {// leave the default placeholder copy1 unmodified line}host.innerHTML = `<div class="chart-host" style="height:420px"><canvas id="chart-timing"></canvas></div><p style="font-family:var(--serif);color:var(--text-muted);font-size:0.82rem;margin-top:0.5rem">Each point is a public validation session: color = platform, shape = model family(β YOLOv5 Β· β YOLOv8 Β· β² YOLO11 Β· β YOLO26). X axis is end-to-end per-image latency on a logscale β the sequential image load β decode β preprocess β inference β postprocess wall time, notbare inference. Throughput exceeds 1000 Γ· latency because stages pipeline across frames.</p>`;const byPlatform = {};for (const s of usable) {const p = platformRowForSession(s);if (!p) continue;(byPlatform[p.key] ||= []).push(s);}const datasets = PLATFORM_ROWS.filter(p => byPlatform[p.key]).map(p => {const pts = byPlatform[p.key];return {label: `${p.label} ${p.detail.includes("CoreML") ? p.detail.replace("ONNX + ", "") : ""}`.trim(),data: pts.map(s => ({x: totalMs(s),y: s.det_map_50_95,name: sessionModelName(s),flagged: isBelowExpectations(s),})),backgroundColor: p.color,borderColor: p.color,pointStyle: pts.map(s => FAMILY_SHAPES[s.version_key] ?? "circle"),pointRadius: 7, pointHoverRadius: 10,};});destroyChart("timing");charts.timing = new Chart(document.getElementById("chart-timing"), {5 unmodified lineslegend: { display: true, position: "bottom" },tooltip: {callbacks: {label: (ctx) => `${ctx.raw.name} on ${ctx.dataset.label}: ${ctx.parsed.y.toFixed(1)} mAP @ ${ctx.parsed.x.toFixed(1)} ms E2E${ctx.raw.flagged ? " β " : ""}`,},},},scales: {x: { type: "logarithmic",title: { display: true, text: "End-to-end latency (ms, log scale β lower is better)" },ticks: { font: { family: "monospace", size: 10 },callback: (v) => ([1,2,5,10,20,50,100,200,500,1000,2000].includes(v) ? String(v) : null) } },y: { title: { display: true, text: "mAP@0.5-0.95 (%)" }, beginAtZero: false,ticks: { font: { family: "monospace", size: 10 } } },},
index.html+176-83