lyunm1206
commited on
Commit
·
f8fe4bc
1
Parent(s):
69d561e
final...?
Browse files- index.html +1 -3
- script.js +0 -12
index.html
CHANGED
|
@@ -156,7 +156,7 @@
|
|
| 156 |
</h3>
|
| 157 |
|
| 158 |
<p class="model-description">
|
| 159 |
-
We present a
|
| 160 |
Please select an option below to explore the preferred loss landscape in detail.
|
| 161 |
</p>
|
| 162 |
|
|
@@ -234,7 +234,6 @@
|
|
| 234 |
camera-orbit = "177.62deg 96.26deg 4.65m"
|
| 235 |
>
|
| 236 |
</model-viewer>
|
| 237 |
-
<div id="camera-info1" class="camera-info"></div>
|
| 238 |
</div>
|
| 239 |
|
| 240 |
<div class="model-container">
|
|
@@ -252,7 +251,6 @@
|
|
| 252 |
camera-orbit = "177.62deg 96.26deg 4.65m"
|
| 253 |
>
|
| 254 |
</model-viewer>
|
| 255 |
-
<div id="camera-info2" class="camera-info"></div>
|
| 256 |
</div>
|
| 257 |
|
| 258 |
|
|
|
|
| 156 |
</h3>
|
| 157 |
|
| 158 |
<p class="model-description">
|
| 159 |
+
We present a 3D visualization of the loss landscape figures presented in our paper.<br>
|
| 160 |
Please select an option below to explore the preferred loss landscape in detail.
|
| 161 |
</p>
|
| 162 |
|
|
|
|
| 234 |
camera-orbit = "177.62deg 96.26deg 4.65m"
|
| 235 |
>
|
| 236 |
</model-viewer>
|
|
|
|
| 237 |
</div>
|
| 238 |
|
| 239 |
<div class="model-container">
|
|
|
|
| 251 |
camera-orbit = "177.62deg 96.26deg 4.65m"
|
| 252 |
>
|
| 253 |
</model-viewer>
|
|
|
|
| 254 |
</div>
|
| 255 |
|
| 256 |
|
script.js
CHANGED
|
@@ -129,15 +129,3 @@ function openTab(tabId) {
|
|
| 129 |
updateModels(firstSubOption); // Update the models based on this sub-option
|
| 130 |
}
|
| 131 |
}
|
| 132 |
-
|
| 133 |
-
function displayCameraOrbit(modelViewer, cameraInfoElementId) {
|
| 134 |
-
const orbit = modelViewer.getCameraOrbit();
|
| 135 |
-
document.getElementById(cameraInfoElementId).innerText = `Azimuthal Angle: ${orbit.theta}°, Polar Angle: ${orbit.phi}°, Radius: ${orbit.radius}`;
|
| 136 |
-
}
|
| 137 |
-
|
| 138 |
-
modelViewer1.addEventListener('camera-change', () => {
|
| 139 |
-
displayCameraOrbit(modelViewer1, 'camera-info1');
|
| 140 |
-
});
|
| 141 |
-
modelViewer2.addEventListener('camera-change', () => {
|
| 142 |
-
displayCameraOrbit(modelViewer2, 'camera-info2');
|
| 143 |
-
});
|
|
|
|
| 129 |
updateModels(firstSubOption); // Update the models based on this sub-option
|
| 130 |
}
|
| 131 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|