Skip to content

Commit c0b94c7

Browse files
Add logo
1 parent 7160266 commit c0b94c7

File tree

21 files changed

+304
-3
lines changed

21 files changed

+304
-3
lines changed

book/404.html

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,22 @@ <h1 id="document-not-found-404"><a class="header" href="#document-not-found-404"
175175

176176
</div>
177177

178+
<!-- Livereload script (if served using the cli tool) -->
179+
<script>
180+
const wsProtocol = location.protocol === 'https:' ? 'wss:' : 'ws:';
181+
const wsAddress = wsProtocol + "//" + location.host + "/" + "__livereload";
182+
const socket = new WebSocket(wsAddress);
183+
socket.onmessage = function (event) {
184+
if (event.data === "reload") {
185+
socket.close();
186+
location.reload();
187+
}
188+
};
189+
190+
window.onbeforeunload = function() {
191+
socket.close();
192+
}
193+
</script>
178194

179195

180196

book/datasets/overview.html

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,22 @@ <h3 id="parameters"><a class="header" href="#parameters">Parameters</a></h3>
223223

224224
</div>
225225

226+
<!-- Livereload script (if served using the cli tool) -->
227+
<script>
228+
const wsProtocol = location.protocol === 'https:' ? 'wss:' : 'ws:';
229+
const wsAddress = wsProtocol + "//" + location.host + "/" + "__livereload";
230+
const socket = new WebSocket(wsAddress);
231+
socket.onmessage = function (event) {
232+
if (event.data === "reload") {
233+
socket.close();
234+
location.reload();
235+
}
236+
};
237+
238+
window.onbeforeunload = function() {
239+
socket.close();
240+
}
241+
</script>
226242

227243

228244

book/getting-started/installation.html

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,22 @@ <h2 id="installation"><a class="header" href="#installation">Installation</a></h
191191

192192
</div>
193193

194+
<!-- Livereload script (if served using the cli tool) -->
195+
<script>
196+
const wsProtocol = location.protocol === 'https:' ? 'wss:' : 'ws:';
197+
const wsAddress = wsProtocol + "//" + location.host + "/" + "__livereload";
198+
const socket = new WebSocket(wsAddress);
199+
socket.onmessage = function (event) {
200+
if (event.data === "reload") {
201+
socket.close();
202+
location.reload();
203+
}
204+
};
205+
206+
window.onbeforeunload = function() {
207+
socket.close();
208+
}
209+
</script>
194210

195211

196212

book/getting-started/quick-start.html

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,22 @@ <h2 id="quick-start"><a class="header" href="#quick-start">Quick Start</a></h2>
254254

255255
</div>
256256

257+
<!-- Livereload script (if served using the cli tool) -->
258+
<script>
259+
const wsProtocol = location.protocol === 'https:' ? 'wss:' : 'ws:';
260+
const wsAddress = wsProtocol + "//" + location.host + "/" + "__livereload";
261+
const socket = new WebSocket(wsAddress);
262+
socket.onmessage = function (event) {
263+
if (event.data === "reload") {
264+
socket.close();
265+
location.reload();
266+
}
267+
};
268+
269+
window.onbeforeunload = function() {
270+
socket.close();
271+
}
272+
</script>
257273

258274

259275

book/index.html

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,10 @@ <h1 class="menu-title">DD-Ranking Benchmark</h1>
154154

155155
<div id="content" class="content">
156156
<main>
157-
<p>DD-Ranking (DD, <em>i.e.</em>, Dataset Distillation) is an integrated and easy-to-use evaluation benchmark for dataset distillation. It aims to provide a fair evaluation scheme for DD methods that can decouple the impacts from knowledge distillation and data augmentation to reflect the real informativeness of the distilled data.</p>
157+
<span style="display: block; text-align: center;">
158+
<img src="static/logo.png" alt="logo"/>
159+
</span>
160+
<p>DD-Ranking (DD, <em>i.e.</em>, Dataset Distillation) is an integrated and easy-to-use evaluation benchmark for dataset distillation. It aims to provide a fair evaluation scheme for DD methods that can decouple the impacts from knowledge distillation and data augmentation to reflect the real informativeness of the distilled data.</p>
158161
<h2 id="motivation"><a class="header" href="#motivation">Motivation</a></h2>
159162
<p>Dataset Distillation (DD) aims to condense a large dataset into a much smaller one, which allows a model to achieve comparable performance after training on it. DD has gained extensive attention since it was proposed. With some foundational methods such as DC, DM, and MTT, various works have further pushed this area to a new standard with their novel designs.</p>
160163
<p><img src="static/history.png" alt="history" /></p>
@@ -222,6 +225,22 @@ <h2 id="dd-ranking-score"><a class="header" href="#dd-ranking-score">DD-Ranking
222225

223226
</div>
224227

228+
<!-- Livereload script (if served using the cli tool) -->
229+
<script>
230+
const wsProtocol = location.protocol === 'https:' ? 'wss:' : 'ws:';
231+
const wsAddress = wsProtocol + "//" + location.host + "/" + "__livereload";
232+
const socket = new WebSocket(wsAddress);
233+
socket.onmessage = function (event) {
234+
if (event.data === "reload") {
235+
socket.close();
236+
location.reload();
237+
}
238+
};
239+
240+
window.onbeforeunload = function() {
241+
socket.close();
242+
}
243+
</script>
225244

226245

227246

book/introduction.html

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,10 @@ <h1 class="menu-title">DD-Ranking Benchmark</h1>
154154

155155
<div id="content" class="content">
156156
<main>
157-
<p>DD-Ranking (DD, <em>i.e.</em>, Dataset Distillation) is an integrated and easy-to-use evaluation benchmark for dataset distillation. It aims to provide a fair evaluation scheme for DD methods that can decouple the impacts from knowledge distillation and data augmentation to reflect the real informativeness of the distilled data.</p>
157+
<span style="display: block; text-align: center;">
158+
<img src="static/logo.png" alt="logo"/>
159+
</span>
160+
<p>DD-Ranking (DD, <em>i.e.</em>, Dataset Distillation) is an integrated and easy-to-use evaluation benchmark for dataset distillation. It aims to provide a fair evaluation scheme for DD methods that can decouple the impacts from knowledge distillation and data augmentation to reflect the real informativeness of the distilled data.</p>
158161
<h2 id="motivation"><a class="header" href="#motivation">Motivation</a></h2>
159162
<p>Dataset Distillation (DD) aims to condense a large dataset into a much smaller one, which allows a model to achieve comparable performance after training on it. DD has gained extensive attention since it was proposed. With some foundational methods such as DC, DM, and MTT, various works have further pushed this area to a new standard with their novel designs.</p>
160163
<p><img src="static/history.png" alt="history" /></p>
@@ -222,6 +225,22 @@ <h2 id="dd-ranking-score"><a class="header" href="#dd-ranking-score">DD-Ranking
222225

223226
</div>
224227

228+
<!-- Livereload script (if served using the cli tool) -->
229+
<script>
230+
const wsProtocol = location.protocol === 'https:' ? 'wss:' : 'ws:';
231+
const wsAddress = wsProtocol + "//" + location.host + "/" + "__livereload";
232+
const socket = new WebSocket(wsAddress);
233+
socket.onmessage = function (event) {
234+
if (event.data === "reload") {
235+
socket.close();
236+
location.reload();
237+
}
238+
};
239+
240+
window.onbeforeunload = function() {
241+
socket.close();
242+
}
243+
</script>
225244

226245

227246

book/metrics/general.html

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,22 @@ <h3 id="examples"><a class="header" href="#examples">Examples</a></h3>
280280

281281
</div>
282282

283+
<!-- Livereload script (if served using the cli tool) -->
284+
<script>
285+
const wsProtocol = location.protocol === 'https:' ? 'wss:' : 'ws:';
286+
const wsAddress = wsProtocol + "//" + location.host + "/" + "__livereload";
287+
const socket = new WebSocket(wsAddress);
288+
socket.onmessage = function (event) {
289+
if (event.data === "reload") {
290+
socket.close();
291+
location.reload();
292+
}
293+
};
294+
295+
window.onbeforeunload = function() {
296+
socket.close();
297+
}
298+
</script>
283299

284300

285301

book/metrics/hard-label.html

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,22 @@ <h4 id="returns"><a class="header" href="#returns">Returns</a></h4>
312312

313313
</div>
314314

315+
<!-- Livereload script (if served using the cli tool) -->
316+
<script>
317+
const wsProtocol = location.protocol === 'https:' ? 'wss:' : 'ws:';
318+
const wsAddress = wsProtocol + "//" + location.host + "/" + "__livereload";
319+
const socket = new WebSocket(wsAddress);
320+
socket.onmessage = function (event) {
321+
if (event.data === "reload") {
322+
socket.close();
323+
location.reload();
324+
}
325+
};
326+
327+
window.onbeforeunload = function() {
328+
socket.close();
329+
}
330+
</script>
315331

316332

317333

book/metrics/overview.html

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,22 @@ <h1 id="dd-ranking-metrics"><a class="header" href="#dd-ranking-metrics">DD-Rank
191191

192192
</div>
193193

194+
<!-- Livereload script (if served using the cli tool) -->
195+
<script>
196+
const wsProtocol = location.protocol === 'https:' ? 'wss:' : 'ws:';
197+
const wsAddress = wsProtocol + "//" + location.host + "/" + "__livereload";
198+
const socket = new WebSocket(wsAddress);
199+
socket.onmessage = function (event) {
200+
if (event.data === "reload") {
201+
socket.close();
202+
location.reload();
203+
}
204+
};
205+
206+
window.onbeforeunload = function() {
207+
socket.close();
208+
}
209+
</script>
194210

195211

196212

book/metrics/soft-label.html

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,22 @@ <h3 id="examples"><a class="header" href="#examples">Examples</a></h3>
322322

323323
</div>
324324

325+
<!-- Livereload script (if served using the cli tool) -->
326+
<script>
327+
const wsProtocol = location.protocol === 'https:' ? 'wss:' : 'ws:';
328+
const wsAddress = wsProtocol + "//" + location.host + "/" + "__livereload";
329+
const socket = new WebSocket(wsAddress);
330+
socket.onmessage = function (event) {
331+
if (event.data === "reload") {
332+
socket.close();
333+
location.reload();
334+
}
335+
};
336+
337+
window.onbeforeunload = function() {
338+
socket.close();
339+
}
340+
</script>
325341

326342

327343

0 commit comments

Comments
 (0)