Spaces:
Running
Running
adaptive
Browse files- index.html +26 -5
index.html
CHANGED
|
@@ -47,6 +47,19 @@
|
|
| 47 |
}
|
| 48 |
});
|
| 49 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 50 |
})
|
| 51 |
</script>
|
| 52 |
|
|
@@ -428,12 +441,13 @@
|
|
| 428 |
|
| 429 |
<div class="columns is-vcentered interpolation-panel">
|
| 430 |
|
| 431 |
-
<div id="adaptive-dataset" class="column is-3 align-items-center">
|
| 432 |
<a href="#c10" class="selected">CIFAR-10</a>
|
|
|
|
| 433 |
<a href="#imgnet" >ImageNet</a>
|
| 434 |
<div style="clear: both"></div>
|
| 435 |
</div>
|
| 436 |
-
<div id="c10" class="column interpolation-video-column">
|
| 437 |
<div id="interpolation-image-wrapper" >
|
| 438 |
Loading...
|
| 439 |
</div>
|
|
@@ -441,10 +455,17 @@
|
|
| 441 |
id="interpolation-slider"
|
| 442 |
step="1" min="0" max="6" value="0" type="range">
|
| 443 |
<label for="interpolation-slider"><strong>Perturbation Budget Ε</strong> from 2/255 to 128/255</label>
|
| 444 |
-
|
| 445 |
</div>
|
| 446 |
-
|
| 447 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 448 |
<div id="interpolation-image-wrapper" >
|
| 449 |
Loading...
|
| 450 |
</div>
|
|
|
|
| 47 |
}
|
| 48 |
});
|
| 49 |
|
| 50 |
+
|
| 51 |
+
$('#adaptive-dataset').on('click', 'a', function(e) {
|
| 52 |
+
e.preventDefault();
|
| 53 |
+
if (!$(this).hasClass('selected')) {
|
| 54 |
+
|
| 55 |
+
$('.interpolation-video-column').hide(200);
|
| 56 |
+
$('#adaptive-dataset > a').removeClass('selected');
|
| 57 |
+
$(this).addClass('selected');
|
| 58 |
+
var target = $(this).attr('href');
|
| 59 |
+
$(target).show(200);
|
| 60 |
+
}
|
| 61 |
+
});
|
| 62 |
+
|
| 63 |
})
|
| 64 |
</script>
|
| 65 |
|
|
|
|
| 441 |
|
| 442 |
<div class="columns is-vcentered interpolation-panel">
|
| 443 |
|
| 444 |
+
<div id="adaptive-dataset" class="column is-3 align-items-center" style="width: 30%;">
|
| 445 |
<a href="#c10" class="selected">CIFAR-10</a>
|
| 446 |
+
<!-- <a href="#c100" class="selected">CIFAR-100</a> -->
|
| 447 |
<a href="#imgnet" >ImageNet</a>
|
| 448 |
<div style="clear: both"></div>
|
| 449 |
</div>
|
| 450 |
+
<div id="c10" class="column interpolation-video-column" style="width: 70%;">
|
| 451 |
<div id="interpolation-image-wrapper" >
|
| 452 |
Loading...
|
| 453 |
</div>
|
|
|
|
| 455 |
id="interpolation-slider"
|
| 456 |
step="1" min="0" max="6" value="0" type="range">
|
| 457 |
<label for="interpolation-slider"><strong>Perturbation Budget Ε</strong> from 2/255 to 128/255</label>
|
|
|
|
| 458 |
</div>
|
| 459 |
+
<!-- <div id="c100" class="column interpolation-video-column" style="width: 70%; display: none;">
|
| 460 |
+
<div id="interpolation-image-wrapper" >
|
| 461 |
+
Loading...
|
| 462 |
+
</div>
|
| 463 |
+
<input class="slider is-full-width is-large is-info"
|
| 464 |
+
id="interpolation-slider"
|
| 465 |
+
step="1" min="0" max="6" value="0" type="range">
|
| 466 |
+
<label for="interpolation-slider"><strong>Perturbation Budget Ε</strong> from 2/255 to 128/255</label>
|
| 467 |
+
</div> -->
|
| 468 |
+
<div id="imgnet" class="column interpolation-video-column" style="width: 70%; display: none;">
|
| 469 |
<div id="interpolation-image-wrapper" >
|
| 470 |
Loading...
|
| 471 |
</div>
|