Spaces:
Running
Running
Update dashboard
Browse files- .gitattributes +1 -3
- app.js +24 -37
- assets/xmum-logo.png +3 -0
- branding.css +73 -0
- comparison-guide.css +331 -0
- comparison-guide.js +31 -0
- index.html +90 -29
- results.json +2 -2
- style.css +13 -0
.gitattributes
CHANGED
|
@@ -1,5 +1,3 @@
|
|
| 1 |
*.onnx -filter -diff -merge -text
|
| 2 |
*.wasm -filter -diff -merge -text
|
| 3 |
-
|
| 4 |
-
models/yolov8n_512.onnx filter=lfs diff=lfs merge=lfs -text
|
| 5 |
-
models/yolov8n_640.onnx filter=lfs diff=lfs merge=lfs -text
|
|
|
|
| 1 |
*.onnx -filter -diff -merge -text
|
| 2 |
*.wasm -filter -diff -merge -text
|
| 3 |
+
assets/xmum-logo.png filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
app.js
CHANGED
|
@@ -225,6 +225,7 @@ function clearFile() {
|
|
| 225 |
getElement('input-preview').hidden = true;
|
| 226 |
getElement('input-preview').removeAttribute('src');
|
| 227 |
getElement('upload-hint').hidden = false;
|
|
|
|
| 228 |
getElement('clear').hidden = true;
|
| 229 |
getElement('filename').textContent = 'No image selected';
|
| 230 |
getElement('message').textContent = '';
|
|
@@ -289,6 +290,7 @@ async function selectFile(file) {
|
|
| 289 |
getElement('input-preview').src = previewUrl;
|
| 290 |
getElement('input-preview').hidden = false;
|
| 291 |
getElement('upload-hint').hidden = true;
|
|
|
|
| 292 |
getElement('clear').hidden = false;
|
| 293 |
getElement('filename').textContent = `${file.name} · ${(file.size / 1024).toFixed(0)} KB`;
|
| 294 |
showEmptyResults();
|
|
@@ -549,7 +551,10 @@ function classChartModels() {
|
|
| 549 |
|
| 550 |
function classModelCode(model, index) {
|
| 551 |
if (model.role === 'Proposed') return 'P';
|
| 552 |
-
|
|
|
|
|
|
|
|
|
|
| 553 |
}
|
| 554 |
|
| 555 |
function renderClassChart() {
|
|
@@ -562,7 +567,7 @@ function renderClassChart() {
|
|
| 562 |
? 'Every class, three perspectives.'
|
| 563 |
: 'Class results across available ablations.';
|
| 564 |
getElement('class-heading').nextElementSibling.textContent = mainStudy
|
| 565 |
-
? 'Compare your
|
| 566 |
: 'Compare the ablation models with supplied class results and the final proposed model.';
|
| 567 |
const metric = getElement('class-metric').value;
|
| 568 |
const label = classMetricLabels[metric];
|
|
@@ -847,6 +852,13 @@ getElement('dropzone').addEventListener('drop', (event) => {
|
|
| 847 |
async function initialize() {
|
| 848 |
try {
|
| 849 |
benchmarkData = await readResponse(await PaddyLiteXBrowser.fetch('/api/benchmarks'));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 850 |
const status = await readResponse(await PaddyLiteXBrowser.fetch('/api/status'));
|
| 851 |
const available = status.models.filter((model) => model.checkpoint_present).length;
|
| 852 |
const statusBadge = getElement('service-status');
|
|
@@ -882,50 +894,25 @@ async function initialize() {
|
|
| 882 |
}
|
| 883 |
}
|
| 884 |
|
| 885 |
-
//
|
| 886 |
function initializePresentation() {
|
| 887 |
const hero = getElement('studio-hero');
|
| 888 |
-
|
| 889 |
-
const motionButton = getElement('toggle-motion');
|
| 890 |
const preference =
|
| 891 |
typeof matchMedia === 'function'
|
| 892 |
? matchMedia('(prefers-reduced-motion: reduce)')
|
| 893 |
: { matches: false };
|
| 894 |
-
let motionPaused = false;
|
| 895 |
-
|
| 896 |
-
function updateMotionControls() {
|
| 897 |
-
const reduced = preference.matches;
|
| 898 |
-
hero.classList.toggle('motion-paused', motionPaused || reduced);
|
| 899 |
-
replayButton.disabled = reduced;
|
| 900 |
-
motionButton.disabled = reduced;
|
| 901 |
-
motionButton.textContent = reduced
|
| 902 |
-
? 'Motion reduced'
|
| 903 |
-
: motionPaused
|
| 904 |
-
? 'Play motion'
|
| 905 |
-
: 'Pause motion';
|
| 906 |
-
motionButton.setAttribute('aria-pressed', String(motionPaused || reduced));
|
| 907 |
-
}
|
| 908 |
|
| 909 |
-
|
| 910 |
-
|
| 911 |
-
|
| 912 |
-
});
|
| 913 |
-
|
| 914 |
-
replayButton.addEventListener('click', () => {
|
| 915 |
-
if (preference.matches) return;
|
| 916 |
-
motionPaused = false;
|
| 917 |
-
updateMotionControls();
|
| 918 |
-
hero.classList.remove('intro-playing');
|
| 919 |
-
// Restart the entrance after the browser has painted the reset state.
|
| 920 |
-
requestAnimationFrame(() => requestAnimationFrame(() => hero.classList.add('intro-playing')));
|
| 921 |
-
});
|
| 922 |
|
| 923 |
-
getElement('start-comparison').addEventListener('click', () => {
|
| 924 |
-
getElement('studio-input').scrollIntoView({
|
| 925 |
behavior: preference.matches ? 'auto' : 'smooth',
|
| 926 |
block: 'start',
|
| 927 |
});
|
| 928 |
-
getElement('dropzone').focus({ preventScroll: true });
|
| 929 |
});
|
| 930 |
|
| 931 |
if (typeof IntersectionObserver === 'function') {
|
|
@@ -935,8 +922,8 @@ function initializePresentation() {
|
|
| 935 |
observer.observe(hero);
|
| 936 |
}
|
| 937 |
|
| 938 |
-
preference.addEventListener?.('change',
|
| 939 |
-
|
| 940 |
}
|
| 941 |
|
| 942 |
initializePresentation();
|
|
|
|
| 225 |
getElement('input-preview').hidden = true;
|
| 226 |
getElement('input-preview').removeAttribute('src');
|
| 227 |
getElement('upload-hint').hidden = false;
|
| 228 |
+
getElement('dropzone').classList.remove('has-image');
|
| 229 |
getElement('clear').hidden = true;
|
| 230 |
getElement('filename').textContent = 'No image selected';
|
| 231 |
getElement('message').textContent = '';
|
|
|
|
| 290 |
getElement('input-preview').src = previewUrl;
|
| 291 |
getElement('input-preview').hidden = false;
|
| 292 |
getElement('upload-hint').hidden = true;
|
| 293 |
+
getElement('dropzone').classList.add('has-image');
|
| 294 |
getElement('clear').hidden = false;
|
| 295 |
getElement('filename').textContent = `${file.name} · ${(file.size / 1024).toFixed(0)} KB`;
|
| 296 |
showEmptyResults();
|
|
|
|
| 551 |
|
| 552 |
function classModelCode(model, index) {
|
| 553 |
if (model.role === 'Proposed') return 'P';
|
| 554 |
+
if (currentStudy === 'main') {
|
| 555 |
+
return model.id === 'yolov8n_densenet121' ? 'IP' : 'B';
|
| 556 |
+
}
|
| 557 |
+
return `A${index + 1}`;
|
| 558 |
}
|
| 559 |
|
| 560 |
function renderClassChart() {
|
|
|
|
| 567 |
? 'Every class, three perspectives.'
|
| 568 |
: 'Class results across available ablations.';
|
| 569 |
getElement('class-heading').nextElementSibling.textContent = mainStudy
|
| 570 |
+
? 'Compare your baseline, initial proposed and final proposed models for each class.'
|
| 571 |
: 'Compare the ablation models with supplied class results and the final proposed model.';
|
| 572 |
const metric = getElement('class-metric').value;
|
| 573 |
const label = classMetricLabels[metric];
|
|
|
|
| 852 |
async function initialize() {
|
| 853 |
try {
|
| 854 |
benchmarkData = await readResponse(await PaddyLiteXBrowser.fetch('/api/benchmarks'));
|
| 855 |
+
// Keep role captions consistent across cards, charts and CSV exports.
|
| 856 |
+
for (const models of [benchmarkData.main, benchmarkData.ablation]) {
|
| 857 |
+
for (const model of models || []) {
|
| 858 |
+
if (model.id === 'yolov8n') model.role = 'Baseline';
|
| 859 |
+
if (model.id === 'yolov8n_densenet121') model.role = 'Initial proposed';
|
| 860 |
+
}
|
| 861 |
+
}
|
| 862 |
const status = await readResponse(await PaddyLiteXBrowser.fetch('/api/status'));
|
| 863 |
const available = status.models.filter((model) => model.checkpoint_present).length;
|
| 864 |
const statusBadge = getElement('service-status');
|
|
|
|
| 894 |
}
|
| 895 |
}
|
| 896 |
|
| 897 |
+
// Respect reduced motion and suspend hero animation when it is offscreen.
|
| 898 |
function initializePresentation() {
|
| 899 |
const hero = getElement('studio-hero');
|
| 900 |
+
if (!hero) return;
|
|
|
|
| 901 |
const preference =
|
| 902 |
typeof matchMedia === 'function'
|
| 903 |
? matchMedia('(prefers-reduced-motion: reduce)')
|
| 904 |
: { matches: false };
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 905 |
|
| 906 |
+
function updateMotionPreference() {
|
| 907 |
+
hero.classList.toggle('motion-paused', preference.matches);
|
| 908 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 909 |
|
| 910 |
+
getElement('start-comparison')?.addEventListener('click', () => {
|
| 911 |
+
getElement('studio-input')?.scrollIntoView({
|
| 912 |
behavior: preference.matches ? 'auto' : 'smooth',
|
| 913 |
block: 'start',
|
| 914 |
});
|
| 915 |
+
getElement('dropzone')?.focus({ preventScroll: true });
|
| 916 |
});
|
| 917 |
|
| 918 |
if (typeof IntersectionObserver === 'function') {
|
|
|
|
| 922 |
observer.observe(hero);
|
| 923 |
}
|
| 924 |
|
| 925 |
+
preference.addEventListener?.('change', updateMotionPreference);
|
| 926 |
+
updateMotionPreference();
|
| 927 |
}
|
| 928 |
|
| 929 |
initializePresentation();
|
assets/xmum-logo.png
ADDED
|
Git LFS Details
|
branding.css
ADDED
|
@@ -0,0 +1,73 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/* University identity beside the existing PaddyLiteX navigation. */
|
| 2 |
+
.research {
|
| 3 |
+
display: inline-flex;
|
| 4 |
+
align-items: center;
|
| 5 |
+
gap: 10px;
|
| 6 |
+
flex-shrink: 0;
|
| 7 |
+
}
|
| 8 |
+
|
| 9 |
+
.xmum-logo {
|
| 10 |
+
display: block;
|
| 11 |
+
width: 40px;
|
| 12 |
+
height: 40px;
|
| 13 |
+
object-fit: contain;
|
| 14 |
+
flex-shrink: 0;
|
| 15 |
+
}
|
| 16 |
+
|
| 17 |
+
.research-label {
|
| 18 |
+
display: flex;
|
| 19 |
+
flex-direction: column;
|
| 20 |
+
gap: 2px;
|
| 21 |
+
line-height: 1.15;
|
| 22 |
+
white-space: nowrap;
|
| 23 |
+
}
|
| 24 |
+
|
| 25 |
+
.researcher-name {
|
| 26 |
+
color: var(--ink);
|
| 27 |
+
font-size: 14px;
|
| 28 |
+
font-weight: 700;
|
| 29 |
+
letter-spacing: -0.2px;
|
| 30 |
+
}
|
| 31 |
+
|
| 32 |
+
.research-label small {
|
| 33 |
+
font-size: 11px;
|
| 34 |
+
font-weight: 600;
|
| 35 |
+
letter-spacing: 0.6px;
|
| 36 |
+
color: var(--muted);
|
| 37 |
+
}
|
| 38 |
+
|
| 39 |
+
@media (max-width: 1050px) {
|
| 40 |
+
.topbar {
|
| 41 |
+
flex-wrap: wrap;
|
| 42 |
+
}
|
| 43 |
+
|
| 44 |
+
.research {
|
| 45 |
+
display: inline-flex;
|
| 46 |
+
margin-left: auto;
|
| 47 |
+
}
|
| 48 |
+
|
| 49 |
+
.tabs {
|
| 50 |
+
order: 2;
|
| 51 |
+
width: 100%;
|
| 52 |
+
justify-content: center;
|
| 53 |
+
}
|
| 54 |
+
}
|
| 55 |
+
|
| 56 |
+
@media (max-width: 720px) {
|
| 57 |
+
.research {
|
| 58 |
+
gap: 7px;
|
| 59 |
+
font-size: 12px;
|
| 60 |
+
}
|
| 61 |
+
|
| 62 |
+
.xmum-logo {
|
| 63 |
+
width: 32px;
|
| 64 |
+
height: 32px;
|
| 65 |
+
}
|
| 66 |
+
}
|
| 67 |
+
|
| 68 |
+
@media (max-width: 420px) {
|
| 69 |
+
.research-label {
|
| 70 |
+
max-width: 125px;
|
| 71 |
+
white-space: normal;
|
| 72 |
+
}
|
| 73 |
+
}
|
comparison-guide.css
ADDED
|
@@ -0,0 +1,331 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/* A compact diagram linking one input with three model perspectives. */
|
| 2 |
+
.guidance {
|
| 3 |
+
justify-content: flex-start;
|
| 4 |
+
gap: 22px;
|
| 5 |
+
}
|
| 6 |
+
|
| 7 |
+
.guidance .model-list {
|
| 8 |
+
margin: auto 0 0;
|
| 9 |
+
}
|
| 10 |
+
|
| 11 |
+
.comparison-guide {
|
| 12 |
+
min-width: 0;
|
| 13 |
+
padding: 22px;
|
| 14 |
+
border: 1px solid #ffffffbd;
|
| 15 |
+
border-radius: 22px;
|
| 16 |
+
background:
|
| 17 |
+
radial-gradient(ellipse at 8% 25%, #c5eddb85, transparent 58%),
|
| 18 |
+
linear-gradient(135deg, #ffffffc9, #f7f9ffb8);
|
| 19 |
+
box-shadow: 0 12px 30px #23455b08, inset 0 1px 0 #ffffff;
|
| 20 |
+
}
|
| 21 |
+
|
| 22 |
+
.guide-heading {
|
| 23 |
+
display: flex;
|
| 24 |
+
align-items: flex-start;
|
| 25 |
+
justify-content: space-between;
|
| 26 |
+
gap: 12px;
|
| 27 |
+
}
|
| 28 |
+
|
| 29 |
+
.guide-kicker {
|
| 30 |
+
display: block;
|
| 31 |
+
font-size: 10px;
|
| 32 |
+
font-weight: 750;
|
| 33 |
+
letter-spacing: 1.2px;
|
| 34 |
+
color: #35765f;
|
| 35 |
+
}
|
| 36 |
+
|
| 37 |
+
.guide-heading h3 {
|
| 38 |
+
margin: 6px 0 0;
|
| 39 |
+
font-size: 21px;
|
| 40 |
+
line-height: 1.25;
|
| 41 |
+
letter-spacing: -0.5px;
|
| 42 |
+
}
|
| 43 |
+
|
| 44 |
+
.guide-preview-label {
|
| 45 |
+
padding: 5px 8px;
|
| 46 |
+
border: 1px solid #dbe7e9;
|
| 47 |
+
border-radius: 20px;
|
| 48 |
+
font-size: 10px;
|
| 49 |
+
color: #65768b;
|
| 50 |
+
text-align: center;
|
| 51 |
+
}
|
| 52 |
+
|
| 53 |
+
.guide-flow {
|
| 54 |
+
display: grid;
|
| 55 |
+
grid-template-columns: minmax(85px, 0.8fr) 45px minmax(0, 1.5fr);
|
| 56 |
+
align-items: center;
|
| 57 |
+
gap: 0;
|
| 58 |
+
margin: 20px 0;
|
| 59 |
+
}
|
| 60 |
+
|
| 61 |
+
.guide-input {
|
| 62 |
+
min-width: 0;
|
| 63 |
+
text-align: center;
|
| 64 |
+
}
|
| 65 |
+
|
| 66 |
+
.guide-leaf-frame {
|
| 67 |
+
position: relative;
|
| 68 |
+
display: grid;
|
| 69 |
+
place-items: center;
|
| 70 |
+
width: 100%;
|
| 71 |
+
max-width: 130px;
|
| 72 |
+
height: 145px;
|
| 73 |
+
margin: 0 auto;
|
| 74 |
+
overflow: hidden;
|
| 75 |
+
border: 1px solid #b9dec9;
|
| 76 |
+
border-radius: 19px;
|
| 77 |
+
background: linear-gradient(160deg, #ecfff2, #d5eee3);
|
| 78 |
+
box-shadow: inset 0 0 25px #ffffff99;
|
| 79 |
+
}
|
| 80 |
+
|
| 81 |
+
.guide-leaf {
|
| 82 |
+
width: 90px;
|
| 83 |
+
height: 110px;
|
| 84 |
+
filter: drop-shadow(0 8px 7px #18644522);
|
| 85 |
+
}
|
| 86 |
+
|
| 87 |
+
.guide-scan {
|
| 88 |
+
position: absolute;
|
| 89 |
+
top: 13%;
|
| 90 |
+
left: 10%;
|
| 91 |
+
right: 10%;
|
| 92 |
+
height: 1px;
|
| 93 |
+
background: #3fbd92;
|
| 94 |
+
box-shadow: 0 0 10px 2px #6bdca452;
|
| 95 |
+
animation: guide-scan 5s ease-in-out infinite;
|
| 96 |
+
}
|
| 97 |
+
|
| 98 |
+
.guide-input-label {
|
| 99 |
+
display: block;
|
| 100 |
+
margin-top: 9px;
|
| 101 |
+
font-size: 11px;
|
| 102 |
+
line-height: 1.35;
|
| 103 |
+
color: #5c7480;
|
| 104 |
+
}
|
| 105 |
+
|
| 106 |
+
.guide-branches {
|
| 107 |
+
height: 180px;
|
| 108 |
+
}
|
| 109 |
+
|
| 110 |
+
.guide-branches svg {
|
| 111 |
+
display: block;
|
| 112 |
+
width: 100%;
|
| 113 |
+
height: 100%;
|
| 114 |
+
overflow: visible;
|
| 115 |
+
}
|
| 116 |
+
|
| 117 |
+
.guide-branches path {
|
| 118 |
+
fill: none;
|
| 119 |
+
stroke: #a5bec7;
|
| 120 |
+
stroke-width: 1.5;
|
| 121 |
+
}
|
| 122 |
+
|
| 123 |
+
.guide-route-dot {
|
| 124 |
+
animation: guide-route 4s ease-in-out infinite;
|
| 125 |
+
}
|
| 126 |
+
|
| 127 |
+
.route-blue {
|
| 128 |
+
fill: #4277ef;
|
| 129 |
+
}
|
| 130 |
+
|
| 131 |
+
.route-purple {
|
| 132 |
+
fill: #8265d5;
|
| 133 |
+
animation-delay: 0.45s;
|
| 134 |
+
}
|
| 135 |
+
|
| 136 |
+
.route-green {
|
| 137 |
+
fill: #129a70;
|
| 138 |
+
animation-delay: 0.9s;
|
| 139 |
+
}
|
| 140 |
+
|
| 141 |
+
.guide-model-paths {
|
| 142 |
+
display: grid;
|
| 143 |
+
gap: 12px;
|
| 144 |
+
min-width: 0;
|
| 145 |
+
}
|
| 146 |
+
|
| 147 |
+
.guide-model-path {
|
| 148 |
+
display: flex;
|
| 149 |
+
align-items: center;
|
| 150 |
+
gap: 9px;
|
| 151 |
+
min-height: 56px;
|
| 152 |
+
padding: 10px 11px;
|
| 153 |
+
border: 1px solid var(--guide-border);
|
| 154 |
+
border-radius: 13px;
|
| 155 |
+
background: var(--guide-background);
|
| 156 |
+
}
|
| 157 |
+
|
| 158 |
+
.path-blue {
|
| 159 |
+
--guide-color: #4277ef;
|
| 160 |
+
--guide-border: #cfddfa;
|
| 161 |
+
--guide-background: #eef4ff;
|
| 162 |
+
}
|
| 163 |
+
|
| 164 |
+
.path-purple {
|
| 165 |
+
--guide-color: #8265d5;
|
| 166 |
+
--guide-border: #ddd4f4;
|
| 167 |
+
--guide-background: #f4effc;
|
| 168 |
+
}
|
| 169 |
+
|
| 170 |
+
.path-green {
|
| 171 |
+
--guide-color: #129a70;
|
| 172 |
+
--guide-border: #c2e7d9;
|
| 173 |
+
--guide-background: #eaf8f0;
|
| 174 |
+
}
|
| 175 |
+
|
| 176 |
+
.guide-path-dot {
|
| 177 |
+
width: 7px;
|
| 178 |
+
height: 7px;
|
| 179 |
+
flex-shrink: 0;
|
| 180 |
+
border-radius: 50%;
|
| 181 |
+
background: var(--guide-color);
|
| 182 |
+
}
|
| 183 |
+
|
| 184 |
+
.guide-model-path span:not(.guide-path-dot) {
|
| 185 |
+
display: block;
|
| 186 |
+
font-size: 10px;
|
| 187 |
+
color: #5d6c83;
|
| 188 |
+
}
|
| 189 |
+
|
| 190 |
+
.guide-model-path strong {
|
| 191 |
+
display: block;
|
| 192 |
+
margin-top: 1px;
|
| 193 |
+
font-size: 11px;
|
| 194 |
+
line-height: 1.4;
|
| 195 |
+
overflow-wrap: anywhere;
|
| 196 |
+
}
|
| 197 |
+
|
| 198 |
+
.guide-settings {
|
| 199 |
+
display: flex;
|
| 200 |
+
flex-wrap: wrap;
|
| 201 |
+
gap: 8px;
|
| 202 |
+
}
|
| 203 |
+
|
| 204 |
+
.guide-settings > span {
|
| 205 |
+
display: inline-flex;
|
| 206 |
+
align-items: center;
|
| 207 |
+
flex-wrap: wrap;
|
| 208 |
+
gap: 6px;
|
| 209 |
+
padding: 7px 10px;
|
| 210 |
+
border: 1px solid #dce6ec;
|
| 211 |
+
border-radius: 10px;
|
| 212 |
+
background: #ffffffb5;
|
| 213 |
+
color: #5a6b7e;
|
| 214 |
+
font-size: 11px;
|
| 215 |
+
}
|
| 216 |
+
|
| 217 |
+
.guide-settings strong {
|
| 218 |
+
color: #21384f;
|
| 219 |
+
font-variant-numeric: tabular-nums;
|
| 220 |
+
}
|
| 221 |
+
|
| 222 |
+
.guide-setting-icon {
|
| 223 |
+
color: #239579;
|
| 224 |
+
font-size: 15px;
|
| 225 |
+
}
|
| 226 |
+
|
| 227 |
+
.guide-output-key {
|
| 228 |
+
display: flex;
|
| 229 |
+
flex-wrap: wrap;
|
| 230 |
+
gap: 9px 15px;
|
| 231 |
+
margin-top: 17px;
|
| 232 |
+
padding-top: 14px;
|
| 233 |
+
border-top: 1px solid #dbe6eb;
|
| 234 |
+
}
|
| 235 |
+
|
| 236 |
+
.guide-output-key > span {
|
| 237 |
+
display: inline-flex;
|
| 238 |
+
align-items: center;
|
| 239 |
+
gap: 5px;
|
| 240 |
+
font-size: 10px;
|
| 241 |
+
color: #697c8a;
|
| 242 |
+
}
|
| 243 |
+
|
| 244 |
+
.guide-output-key strong {
|
| 245 |
+
color: #40536a;
|
| 246 |
+
}
|
| 247 |
+
|
| 248 |
+
.guide-output-key i {
|
| 249 |
+
display: inline-block;
|
| 250 |
+
width: 10px;
|
| 251 |
+
height: 10px;
|
| 252 |
+
margin-right: 1px;
|
| 253 |
+
}
|
| 254 |
+
|
| 255 |
+
.guide-box-symbol {
|
| 256 |
+
border: 1.5px solid #4277ef;
|
| 257 |
+
border-radius: 2px;
|
| 258 |
+
}
|
| 259 |
+
|
| 260 |
+
.guide-label-symbol {
|
| 261 |
+
border-radius: 2px 5px 5px 2px;
|
| 262 |
+
background: #8265d5;
|
| 263 |
+
}
|
| 264 |
+
|
| 265 |
+
.guide-score-symbol {
|
| 266 |
+
border-radius: 50%;
|
| 267 |
+
background: #129a70;
|
| 268 |
+
}
|
| 269 |
+
|
| 270 |
+
.guide-benchmarks-link {
|
| 271 |
+
display: flex;
|
| 272 |
+
align-items: center;
|
| 273 |
+
gap: 10px;
|
| 274 |
+
margin-top: 16px;
|
| 275 |
+
padding: 0;
|
| 276 |
+
border: 0;
|
| 277 |
+
background: none;
|
| 278 |
+
color: #246f63;
|
| 279 |
+
font-size: 11px;
|
| 280 |
+
font-weight: 700;
|
| 281 |
+
text-align: left;
|
| 282 |
+
}
|
| 283 |
+
|
| 284 |
+
.guide-benchmarks-link:hover {
|
| 285 |
+
color: #154d43;
|
| 286 |
+
}
|
| 287 |
+
|
| 288 |
+
.guide-benchmarks-link span {
|
| 289 |
+
transition: transform 0.2s;
|
| 290 |
+
}
|
| 291 |
+
|
| 292 |
+
.guide-benchmarks-link:hover span {
|
| 293 |
+
transform: translate(2px, -2px);
|
| 294 |
+
}
|
| 295 |
+
|
| 296 |
+
@keyframes guide-scan {
|
| 297 |
+
0%, 100% { transform: translateY(0); opacity: 0.5; }
|
| 298 |
+
50% { transform: translateY(95px); opacity: 1; }
|
| 299 |
+
}
|
| 300 |
+
|
| 301 |
+
@keyframes guide-route {
|
| 302 |
+
0%, 100% { opacity: 0.4; }
|
| 303 |
+
50% { opacity: 1; }
|
| 304 |
+
}
|
| 305 |
+
|
| 306 |
+
@media (max-width: 1050px) and (min-width: 721px) {
|
| 307 |
+
.comparison-guide { padding: 17px; }
|
| 308 |
+
.guide-heading { flex-wrap: wrap; }
|
| 309 |
+
.guide-flow { grid-template-columns: 75px 24px minmax(0, 1fr); }
|
| 310 |
+
.guide-leaf-frame { height: 130px; }
|
| 311 |
+
.guide-leaf { width: 65px; }
|
| 312 |
+
.guide-model-path { padding: 9px; }
|
| 313 |
+
}
|
| 314 |
+
|
| 315 |
+
@media (max-width: 420px) {
|
| 316 |
+
.comparison-guide { padding: 17px; }
|
| 317 |
+
.guide-heading { flex-wrap: wrap; }
|
| 318 |
+
.guide-flow { grid-template-columns: 75px 24px minmax(0, 1fr); }
|
| 319 |
+
.guide-leaf-frame { height: 130px; }
|
| 320 |
+
.guide-leaf { width: 65px; }
|
| 321 |
+
.guide-model-path { padding: 9px; gap: 6px; }
|
| 322 |
+
}
|
| 323 |
+
|
| 324 |
+
@media (prefers-reduced-motion: reduce) {
|
| 325 |
+
.comparison-guide *,
|
| 326 |
+
.comparison-guide *::before,
|
| 327 |
+
.comparison-guide *::after {
|
| 328 |
+
animation: none !important;
|
| 329 |
+
transition: none !important;
|
| 330 |
+
}
|
| 331 |
+
}
|
comparison-guide.js
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/* Keep the workflow's settings chips aligned with the real upload controls. */
|
| 2 |
+
(function () {
|
| 3 |
+
'use strict';
|
| 4 |
+
|
| 5 |
+
function initializeComparisonGuide() {
|
| 6 |
+
const inputSize = document.getElementById('image-size');
|
| 7 |
+
const confidence = document.getElementById('confidence');
|
| 8 |
+
const sizeCaption = document.getElementById('guide-input-size');
|
| 9 |
+
const confidenceCaption = document.getElementById('guide-confidence');
|
| 10 |
+
|
| 11 |
+
if (!inputSize || !confidence || !sizeCaption || !confidenceCaption) return;
|
| 12 |
+
|
| 13 |
+
function updateSettings() {
|
| 14 |
+
const size = Number(inputSize.value);
|
| 15 |
+
const threshold = Number(confidence.value);
|
| 16 |
+
sizeCaption.textContent = `${size} × ${size}`;
|
| 17 |
+
confidenceCaption.textContent = `${Math.round(threshold * 100)}%`;
|
| 18 |
+
}
|
| 19 |
+
|
| 20 |
+
inputSize.addEventListener('change', updateSettings);
|
| 21 |
+
confidence.addEventListener('input', updateSettings);
|
| 22 |
+
confidence.addEventListener('change', updateSettings);
|
| 23 |
+
updateSettings();
|
| 24 |
+
}
|
| 25 |
+
|
| 26 |
+
if (document.readyState === 'loading') {
|
| 27 |
+
document.addEventListener('DOMContentLoaded', initializeComparisonGuide, { once: true });
|
| 28 |
+
} else {
|
| 29 |
+
initializeComparisonGuide();
|
| 30 |
+
}
|
| 31 |
+
})();
|
index.html
CHANGED
|
@@ -7,13 +7,16 @@
|
|
| 7 |
name="description"
|
| 8 |
content="Paddy disease detection: compare YOLOv8n, Yolov8n_DenseNet121 and DenseLiteX predictions and research benchmarks."
|
| 9 |
/>
|
| 10 |
-
<title>PaddyLiteX ·
|
| 11 |
<link rel="icon" href="./favicon.svg" />
|
| 12 |
-
<link rel="stylesheet" href="./style.css" />
|
| 13 |
<link rel="stylesheet" href="./charts.css?v=baseline1-charts-20261013" />
|
| 14 |
<script src="./browser-runtime.js?v=baseline1-charts-20261013" defer></script>
|
| 15 |
<script src="./charts.js?v=baseline1-charts-20261013" defer></script>
|
| 16 |
-
<script src="./app.js?v=
|
|
|
|
|
|
|
|
|
|
| 17 |
</head>
|
| 18 |
<body>
|
| 19 |
<header class="topbar">
|
|
@@ -21,7 +24,6 @@
|
|
| 21 |
<span class="brandmark"><img src="./favicon.svg" alt="" aria-hidden="true" /></span>
|
| 22 |
<span>
|
| 23 |
PaddyLiteX
|
| 24 |
-
<small>THESIS II</small>
|
| 25 |
</span>
|
| 26 |
</a>
|
| 27 |
<nav class="tabs" aria-label="Main views">
|
|
@@ -30,7 +32,14 @@
|
|
| 30 |
</button>
|
| 31 |
<button class="tab" data-view="benchmarks" aria-selected="false">Model benchmarks</button>
|
| 32 |
</nav>
|
| 33 |
-
<span class="research">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 34 |
</header>
|
| 35 |
<main>
|
| 36 |
<section id="workspace" class="view active">
|
|
@@ -48,8 +57,7 @@
|
|
| 48 |
<span>A clearer comparison.</span>
|
| 49 |
</h1>
|
| 50 |
<p class="hero-description">
|
| 51 |
-
|
| 52 |
-
balance between model performance and complexity.
|
| 53 |
</p>
|
| 54 |
<div class="hero-actions">
|
| 55 |
<button class="hero-primary" id="start-comparison">
|
|
@@ -160,13 +168,7 @@
|
|
| 160 |
PaddyLiteX
|
| 161 |
<span>RESEARCH IN ACTION</span>
|
| 162 |
</span>
|
| 163 |
-
|
| 164 |
-
<button id="replay-intro">
|
| 165 |
-
<span aria-hidden="true">↻</span>
|
| 166 |
-
Replay intro
|
| 167 |
-
</button>
|
| 168 |
-
<button id="toggle-motion" aria-pressed="false">Pause motion</button>
|
| 169 |
-
</div>
|
| 170 |
</div>
|
| 171 |
</section>
|
| 172 |
|
|
@@ -174,7 +176,7 @@
|
|
| 174 |
<div>
|
| 175 |
<p class="eyebrow">PADDY DISEASE DETECTION</p>
|
| 176 |
<h2 class="studio-title">Detection studio</h2>
|
| 177 |
-
<p class="muted">Compare your
|
| 178 |
</div>
|
| 179 |
<span class="pill" id="service-status">Checking model availability</span>
|
| 180 |
</div>
|
|
@@ -264,14 +266,74 @@
|
|
| 264 |
bounding boxes, predicted classes and confidence side by side.
|
| 265 |
</p>
|
| 266 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 267 |
<div class="model-list" id="model-list"></div>
|
| 268 |
-
<div class="note">
|
| 269 |
-
<strong>Prediction confidence ≠ accuracy</strong>
|
| 270 |
-
<p>
|
| 271 |
-
An uploaded image has no ground-truth annotation. Dataset-level performance is
|
| 272 |
-
available in Model benchmarks.
|
| 273 |
-
</p>
|
| 274 |
-
</div>
|
| 275 |
</section>
|
| 276 |
</div>
|
| 277 |
<div class="section-heading">
|
|
@@ -279,7 +341,6 @@
|
|
| 279 |
<h2>Detection results</h2>
|
| 280 |
<p class="muted">Real model predictions appear here after comparison.</p>
|
| 281 |
</div>
|
| 282 |
-
<span class="micro">P3 / P4 / P5 · 9 classes</span>
|
| 283 |
</div>
|
| 284 |
<div class="result-grid" id="results"></div>
|
| 285 |
</section>
|
|
@@ -396,24 +457,24 @@
|
|
| 396 |
</section>
|
| 397 |
<div class="insight-grid">
|
| 398 |
<div class="insight">
|
| 399 |
-
<small>Against Yolov8n_DenseNet121
|
| 400 |
<strong id="map-improvement">-0.25%</strong>
|
| 401 |
<p>mAP@0.5:0.95 score difference</p>
|
| 402 |
<p class="insight-values" id="map5095-change">56.08% → 55.83%</p>
|
| 403 |
</div>
|
| 404 |
<div class="insight">
|
| 405 |
-
<small>Against Yolov8n_DenseNet121
|
| 406 |
<strong id="map50-improvement">+0.98%</strong>
|
| 407 |
<p>mAP@0.5 score difference</p>
|
| 408 |
<p class="insight-values" id="map50-change">80.69% → 81.67%</p>
|
| 409 |
</div>
|
| 410 |
<div class="insight">
|
| 411 |
-
<small>Against Yolov8n_DenseNet121
|
| 412 |
<strong id="parameter-reduction">68.01% fewer</strong>
|
| 413 |
<p>parameters</p>
|
| 414 |
</div>
|
| 415 |
<div class="insight">
|
| 416 |
-
<small>Against Yolov8n_DenseNet121
|
| 417 |
<strong id="flops-reduction">72.59% fewer</strong>
|
| 418 |
<p>reported GFLOPs</p>
|
| 419 |
</div>
|
|
@@ -424,7 +485,7 @@
|
|
| 424 |
<p class="eyebrow">CLASS-LEVEL DETECTION PERFORMANCE</p>
|
| 425 |
<h2 id="class-heading">Every class, three perspectives.</h2>
|
| 426 |
<p class="muted">
|
| 427 |
-
Compare your
|
| 428 |
</p>
|
| 429 |
</div>
|
| 430 |
<button class="secondary" id="download-class-csv" disabled>Export class CSV</button>
|
|
@@ -488,7 +549,7 @@
|
|
| 488 |
</section>
|
| 489 |
</section>
|
| 490 |
<footer>
|
| 491 |
-
<span>PaddyLiteX
|
| 492 |
<span>AIT2309246</span>
|
| 493 |
</footer>
|
| 494 |
</main>
|
|
|
|
| 7 |
name="description"
|
| 8 |
content="Paddy disease detection: compare YOLOv8n, Yolov8n_DenseNet121 and DenseLiteX predictions and research benchmarks."
|
| 9 |
/>
|
| 10 |
+
<title>PaddyLiteX · Paddy Disease Detection</title>
|
| 11 |
<link rel="icon" href="./favicon.svg" />
|
| 12 |
+
<link rel="stylesheet" href="./style.css?v=preview-20261111" />
|
| 13 |
<link rel="stylesheet" href="./charts.css?v=baseline1-charts-20261013" />
|
| 14 |
<script src="./browser-runtime.js?v=baseline1-charts-20261013" defer></script>
|
| 15 |
<script src="./charts.js?v=baseline1-charts-20261013" defer></script>
|
| 16 |
+
<script src="./app.js?v=preview-20261111" defer></script>
|
| 17 |
+
<link rel="stylesheet" href="./branding.css?v=branding-20261111" />
|
| 18 |
+
<link rel="stylesheet" href="./comparison-guide.css?v=comparison-guide-20261014" />
|
| 19 |
+
<script src="./comparison-guide.js?v=comparison-guide-20261014" defer></script>
|
| 20 |
</head>
|
| 21 |
<body>
|
| 22 |
<header class="topbar">
|
|
|
|
| 24 |
<span class="brandmark"><img src="./favicon.svg" alt="" aria-hidden="true" /></span>
|
| 25 |
<span>
|
| 26 |
PaddyLiteX
|
|
|
|
| 27 |
</span>
|
| 28 |
</a>
|
| 29 |
<nav class="tabs" aria-label="Main views">
|
|
|
|
| 32 |
</button>
|
| 33 |
<button class="tab" data-view="benchmarks" aria-selected="false">Model benchmarks</button>
|
| 34 |
</nav>
|
| 35 |
+
<span class="research">
|
| 36 |
+
<img class="xmum-logo" src="./assets/xmum-logo.png"
|
| 37 |
+
alt="Xiamen University Malaysia logo" width="40" height="40" />
|
| 38 |
+
<span class="research-label">
|
| 39 |
+
<strong class="researcher-name">Wilbert Andrew Yonathan</strong>
|
| 40 |
+
<small>XMUM · AI Engineering</small>
|
| 41 |
+
</span>
|
| 42 |
+
</span>
|
| 43 |
</header>
|
| 44 |
<main>
|
| 45 |
<section id="workspace" class="view active">
|
|
|
|
| 57 |
<span>A clearer comparison.</span>
|
| 58 |
</h1>
|
| 59 |
<p class="hero-description">
|
| 60 |
+
Utilizing Computer Vision to detect paddy leaf diseases at your fingertips. Upload a paddy leaf image and predict different types of diseases.
|
|
|
|
| 61 |
</p>
|
| 62 |
<div class="hero-actions">
|
| 63 |
<button class="hero-primary" id="start-comparison">
|
|
|
|
| 168 |
PaddyLiteX
|
| 169 |
<span>RESEARCH IN ACTION</span>
|
| 170 |
</span>
|
| 171 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 172 |
</div>
|
| 173 |
</section>
|
| 174 |
|
|
|
|
| 176 |
<div>
|
| 177 |
<p class="eyebrow">PADDY DISEASE DETECTION</p>
|
| 178 |
<h2 class="studio-title">Detection studio</h2>
|
| 179 |
+
<p class="muted">Compare your baseline, initial proposed and final proposed models on the same image.</p>
|
| 180 |
</div>
|
| 181 |
<span class="pill" id="service-status">Checking model availability</span>
|
| 182 |
</div>
|
|
|
|
| 266 |
bounding boxes, predicted classes and confidence side by side.
|
| 267 |
</p>
|
| 268 |
</div>
|
| 269 |
+
<section class="comparison-guide" id="comparison-guide" aria-labelledby="guide-title">
|
| 270 |
+
<div class="guide-heading">
|
| 271 |
+
<div>
|
| 272 |
+
<span class="guide-kicker">ONE IMAGE · THREE PERSPECTIVES</span>
|
| 273 |
+
<h3 id="guide-title">Follow the same leaf.</h3>
|
| 274 |
+
</div>
|
| 275 |
+
<span class="guide-preview-label">Workflow illustration</span>
|
| 276 |
+
</div>
|
| 277 |
+
|
| 278 |
+
<div class="guide-flow">
|
| 279 |
+
<div class="guide-input">
|
| 280 |
+
<div class="guide-leaf-frame" aria-hidden="true">
|
| 281 |
+
<svg viewBox="0 0 120 140" class="guide-leaf">
|
| 282 |
+
<defs>
|
| 283 |
+
<linearGradient id="guide-leaf-fill" x1="0" y1="1" x2="1" y2="0">
|
| 284 |
+
<stop offset="0" stop-color="#168367" />
|
| 285 |
+
<stop offset="1" stop-color="#9de9ab" />
|
| 286 |
+
</linearGradient>
|
| 287 |
+
</defs>
|
| 288 |
+
<path d="M31 113C19 71 45 27 96 12c4 54-22 88-65 101Z" fill="url(#guide-leaf-fill)" />
|
| 289 |
+
<path d="M24 128 88 25M48 94 72 89M59 74 81 69M69 55 88 51M48 94 41 71M59 74 53 53" fill="none" stroke="#e1ffe9" stroke-width="2.4" stroke-linecap="round" />
|
| 290 |
+
</svg>
|
| 291 |
+
<span class="guide-scan"></span>
|
| 292 |
+
</div>
|
| 293 |
+
<span class="guide-input-label">Your uploaded image</span>
|
| 294 |
+
</div>
|
| 295 |
+
|
| 296 |
+
<div class="guide-branches" aria-hidden="true">
|
| 297 |
+
<svg viewBox="0 0 80 180" preserveAspectRatio="none">
|
| 298 |
+
<path d="M0 90H25Q39 90 39 76V34Q39 22 53 22H80M0 90H80M0 90H25Q39 90 39 104V146Q39 158 53 158H80" />
|
| 299 |
+
<circle class="guide-route-dot route-blue" cx="70" cy="22" r="3.5" />
|
| 300 |
+
<circle class="guide-route-dot route-purple" cx="70" cy="90" r="3.5" />
|
| 301 |
+
<circle class="guide-route-dot route-green" cx="70" cy="158" r="3.5" />
|
| 302 |
+
</svg>
|
| 303 |
+
</div>
|
| 304 |
+
|
| 305 |
+
<div class="guide-model-paths">
|
| 306 |
+
<div class="guide-model-path path-blue">
|
| 307 |
+
<span class="guide-path-dot"></span>
|
| 308 |
+
<div><span>Baseline</span><strong>YOLOv8n</strong></div>
|
| 309 |
+
</div>
|
| 310 |
+
<div class="guide-model-path path-purple">
|
| 311 |
+
<span class="guide-path-dot"></span>
|
| 312 |
+
<div><span>Initial proposed</span><strong>YOLOv8n_DenseNet121</strong></div>
|
| 313 |
+
</div>
|
| 314 |
+
<div class="guide-model-path path-green">
|
| 315 |
+
<span class="guide-path-dot"></span>
|
| 316 |
+
<div><span>Proposed</span><strong>DenseLiteX + SPPF + C2PSA</strong></div>
|
| 317 |
+
</div>
|
| 318 |
+
</div>
|
| 319 |
+
</div>
|
| 320 |
+
|
| 321 |
+
<div class="guide-settings" aria-label="Current comparison settings">
|
| 322 |
+
<span><span class="guide-setting-icon" aria-hidden="true">▦</span> Input <strong id="guide-input-size">512 × 512</strong></span>
|
| 323 |
+
<span><span class="guide-setting-icon" aria-hidden="true">◉</span> Threshold <strong id="guide-confidence">25%</strong></span>
|
| 324 |
+
</div>
|
| 325 |
+
|
| 326 |
+
<div class="guide-output-key" aria-label="How to read detection results">
|
| 327 |
+
<span><i class="guide-box-symbol" aria-hidden="true"></i><strong>Boxes</strong> locate regions</span>
|
| 328 |
+
<span><i class="guide-label-symbol" aria-hidden="true"></i><strong>Labels</strong> name classes</span>
|
| 329 |
+
<span><i class="guide-score-symbol" aria-hidden="true"></i><strong>Scores</strong> show confidence</span>
|
| 330 |
+
</div>
|
| 331 |
+
|
| 332 |
+
<button class="guide-benchmarks-link" data-view="benchmarks" type="button">
|
| 333 |
+
Explore model benchmarks <span aria-hidden="true">↗</span>
|
| 334 |
+
</button>
|
| 335 |
+
</section>
|
| 336 |
<div class="model-list" id="model-list"></div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 337 |
</section>
|
| 338 |
</div>
|
| 339 |
<div class="section-heading">
|
|
|
|
| 341 |
<h2>Detection results</h2>
|
| 342 |
<p class="muted">Real model predictions appear here after comparison.</p>
|
| 343 |
</div>
|
|
|
|
| 344 |
</div>
|
| 345 |
<div class="result-grid" id="results"></div>
|
| 346 |
</section>
|
|
|
|
| 457 |
</section>
|
| 458 |
<div class="insight-grid">
|
| 459 |
<div class="insight">
|
| 460 |
+
<small>Against Yolov8n_DenseNet121 (initial proposed)</small>
|
| 461 |
<strong id="map-improvement">-0.25%</strong>
|
| 462 |
<p>mAP@0.5:0.95 score difference</p>
|
| 463 |
<p class="insight-values" id="map5095-change">56.08% → 55.83%</p>
|
| 464 |
</div>
|
| 465 |
<div class="insight">
|
| 466 |
+
<small>Against Yolov8n_DenseNet121 (initial proposed)</small>
|
| 467 |
<strong id="map50-improvement">+0.98%</strong>
|
| 468 |
<p>mAP@0.5 score difference</p>
|
| 469 |
<p class="insight-values" id="map50-change">80.69% → 81.67%</p>
|
| 470 |
</div>
|
| 471 |
<div class="insight">
|
| 472 |
+
<small>Against Yolov8n_DenseNet121 (initial proposed)</small>
|
| 473 |
<strong id="parameter-reduction">68.01% fewer</strong>
|
| 474 |
<p>parameters</p>
|
| 475 |
</div>
|
| 476 |
<div class="insight">
|
| 477 |
+
<small>Against Yolov8n_DenseNet121 (initial proposed)</small>
|
| 478 |
<strong id="flops-reduction">72.59% fewer</strong>
|
| 479 |
<p>reported GFLOPs</p>
|
| 480 |
</div>
|
|
|
|
| 485 |
<p class="eyebrow">CLASS-LEVEL DETECTION PERFORMANCE</p>
|
| 486 |
<h2 id="class-heading">Every class, three perspectives.</h2>
|
| 487 |
<p class="muted">
|
| 488 |
+
Compare your baseline, initial proposed and final proposed models for each class.
|
| 489 |
</p>
|
| 490 |
</div>
|
| 491 |
<button class="secondary" id="download-class-csv" disabled>Export class CSV</button>
|
|
|
|
| 549 |
</section>
|
| 550 |
</section>
|
| 551 |
<footer>
|
| 552 |
+
<span>PaddyLiteX</span>
|
| 553 |
<span>AIT2309246</span>
|
| 554 |
</footer>
|
| 555 |
</main>
|
results.json
CHANGED
|
@@ -101,7 +101,7 @@
|
|
| 101 |
{
|
| 102 |
"id": "yolov8n",
|
| 103 |
"label": "YOLOv8n",
|
| 104 |
-
"role": "Baseline
|
| 105 |
"precision": 81.24,
|
| 106 |
"recall": 78.45,
|
| 107 |
"map50": 80.94,
|
|
@@ -114,7 +114,7 @@
|
|
| 114 |
{
|
| 115 |
"id": "yolov8n_densenet121",
|
| 116 |
"label": "Yolov8n_DenseNet121",
|
| 117 |
-
"role": "
|
| 118 |
"precision": 84.71,
|
| 119 |
"recall": 74.79,
|
| 120 |
"map50": 80.69,
|
|
|
|
| 101 |
{
|
| 102 |
"id": "yolov8n",
|
| 103 |
"label": "YOLOv8n",
|
| 104 |
+
"role": "Baseline",
|
| 105 |
"precision": 81.24,
|
| 106 |
"recall": 78.45,
|
| 107 |
"map50": 80.94,
|
|
|
|
| 114 |
{
|
| 115 |
"id": "yolov8n_densenet121",
|
| 116 |
"label": "Yolov8n_DenseNet121",
|
| 117 |
+
"role": "Initial proposed",
|
| 118 |
"precision": 84.71,
|
| 119 |
"recall": 74.79,
|
| 120 |
"map50": 80.69,
|
style.css
CHANGED
|
@@ -782,6 +782,19 @@ p {
|
|
| 782 |
height: 100%;
|
| 783 |
object-fit: contain;
|
| 784 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 785 |
.fileline {
|
| 786 |
display: flex;
|
| 787 |
justify-content: space-between;
|
|
|
|
| 782 |
height: 100%;
|
| 783 |
object-fit: contain;
|
| 784 |
}
|
| 785 |
+
/* Once an image is chosen, size the box to the whole image instead of cropping it. */
|
| 786 |
+
.dropzone.has-image {
|
| 787 |
+
height: auto;
|
| 788 |
+
min-height: 242px;
|
| 789 |
+
padding: 12px;
|
| 790 |
+
}
|
| 791 |
+
.dropzone.has-image #input-preview {
|
| 792 |
+
width: auto;
|
| 793 |
+
height: auto;
|
| 794 |
+
max-width: 100%;
|
| 795 |
+
max-height: 520px;
|
| 796 |
+
border-radius: 10px;
|
| 797 |
+
}
|
| 798 |
.fileline {
|
| 799 |
display: flex;
|
| 800 |
justify-content: space-between;
|