Update templates/resnet.html
Browse files- templates/resnet.html +8 -8
templates/resnet.html
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
<head>
|
| 4 |
<meta charset="UTF-8">
|
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
-
<title>
|
| 7 |
<style>
|
| 8 |
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
|
| 9 |
|
|
@@ -492,7 +492,7 @@
|
|
| 492 |
<body>
|
| 493 |
|
| 494 |
<section class="hero-section">
|
| 495 |
-
<h1 class="hero-title">Deployment
|
| 496 |
<div class="hero-subtitle">Rakyan (2206824331)</div>
|
| 497 |
</section>
|
| 498 |
|
|
@@ -597,7 +597,7 @@
|
|
| 597 |
<polyline points="2 12 12 17 22 12"></polyline>
|
| 598 |
</svg>
|
| 599 |
</div>
|
| 600 |
-
Hasil
|
| 601 |
</div>
|
| 602 |
|
| 603 |
<div class="empty-state" id="empty-state">
|
|
@@ -610,19 +610,19 @@
|
|
| 610 |
|
| 611 |
<div class="loader" id="loader">
|
| 612 |
<div class="spinner"></div>
|
| 613 |
-
<div style="color: #64748b; font-size: 14px;">Memproses prediksi
|
| 614 |
</div>
|
| 615 |
|
| 616 |
<div id="results" style="display: none; height: 100%; flex-direction: column;">
|
| 617 |
<div class="cards-row">
|
| 618 |
<div class="card">
|
| 619 |
-
<p class="model-label">
|
| 620 |
<p class="class-name" id="mlp-name">-</p>
|
| 621 |
<p class="conf-badge">✓ <span id="mlp-conf">-</span>%</p>
|
| 622 |
<div class="prob-list" id="mlp-probs"></div>
|
| 623 |
</div>
|
| 624 |
<div class="card">
|
| 625 |
-
<p class="model-label">
|
| 626 |
<p class="class-name" id="kan-name">-</p>
|
| 627 |
<p class="conf-badge">✓ <span id="kan-conf">-</span>%</p>
|
| 628 |
<div class="prob-list" id="kan-probs"></div>
|
|
@@ -800,14 +800,14 @@
|
|
| 800 |
it.style.color = '#15803d';
|
| 801 |
ix.style.color = '#166534';
|
| 802 |
it.innerHTML = 'Konsisten';
|
| 803 |
-
ix.innerHTML = `Kedua model
|
| 804 |
} else {
|
| 805 |
interBox.style.backgroundColor = '#fff7ed';
|
| 806 |
interBox.style.borderLeftColor = '#f97316';
|
| 807 |
it.style.color = '#c2410c';
|
| 808 |
ix.style.color = '#9a3412';
|
| 809 |
it.innerHTML = 'Perbedaan Prediksi';
|
| 810 |
-
ix.innerHTML = `Model
|
| 811 |
}
|
| 812 |
|
| 813 |
if (data.is_outlier) {
|
|
|
|
| 3 |
<head>
|
| 4 |
<meta charset="UTF-8">
|
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>ResNet50 CIFAR10 - Research Deployment</title>
|
| 7 |
<style>
|
| 8 |
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
|
| 9 |
|
|
|
|
| 492 |
<body>
|
| 493 |
|
| 494 |
<section class="hero-section">
|
| 495 |
+
<h1 class="hero-title">Deployment ResNet50-MLP dan ResNet50-KAN pada CIFAR10</h1>
|
| 496 |
<div class="hero-subtitle">Rakyan (2206824331)</div>
|
| 497 |
</section>
|
| 498 |
|
|
|
|
| 597 |
<polyline points="2 12 12 17 22 12"></polyline>
|
| 598 |
</svg>
|
| 599 |
</div>
|
| 600 |
+
Hasil ResNet50
|
| 601 |
</div>
|
| 602 |
|
| 603 |
<div class="empty-state" id="empty-state">
|
|
|
|
| 610 |
|
| 611 |
<div class="loader" id="loader">
|
| 612 |
<div class="spinner"></div>
|
| 613 |
+
<div style="color: #64748b; font-size: 14px;">Memproses prediksi ResNet50...</div>
|
| 614 |
</div>
|
| 615 |
|
| 616 |
<div id="results" style="display: none; height: 100%; flex-direction: column;">
|
| 617 |
<div class="cards-row">
|
| 618 |
<div class="card">
|
| 619 |
+
<p class="model-label">ResNet50-MLP</p>
|
| 620 |
<p class="class-name" id="mlp-name">-</p>
|
| 621 |
<p class="conf-badge">✓ <span id="mlp-conf">-</span>%</p>
|
| 622 |
<div class="prob-list" id="mlp-probs"></div>
|
| 623 |
</div>
|
| 624 |
<div class="card">
|
| 625 |
+
<p class="model-label">ResNet50-KAN</p>
|
| 626 |
<p class="class-name" id="kan-name">-</p>
|
| 627 |
<p class="conf-badge">✓ <span id="kan-conf">-</span>%</p>
|
| 628 |
<div class="prob-list" id="kan-probs"></div>
|
|
|
|
| 800 |
it.style.color = '#15803d';
|
| 801 |
ix.style.color = '#166534';
|
| 802 |
it.innerHTML = 'Konsisten';
|
| 803 |
+
ix.innerHTML = `Kedua model mengkategorikan objek ini adalah <strong>${mlpClass}</strong>.`;
|
| 804 |
} else {
|
| 805 |
interBox.style.backgroundColor = '#fff7ed';
|
| 806 |
interBox.style.borderLeftColor = '#f97316';
|
| 807 |
it.style.color = '#c2410c';
|
| 808 |
ix.style.color = '#9a3412';
|
| 809 |
it.innerHTML = 'Perbedaan Prediksi';
|
| 810 |
+
ix.innerHTML = `Model ResNet50-MLP mengkategorikan ini sebagai <strong>${mlpClass}</strong>, sedangkan ResNet50-KAN mengkategorikan ini sebagai <strong>${kanClass}</strong>.`;
|
| 811 |
}
|
| 812 |
|
| 813 |
if (data.is_outlier) {
|