Skip to content

Commit e23d1a8

Browse files
committed
[Docs] Add introduction to alexnet loading pad
1 parent 34c2739 commit e23d1a8

File tree

3 files changed

+26
-0
lines changed

3 files changed

+26
-0
lines changed

css/playground.css

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ main {
6565
width: 100%;
6666
height: 100%;
6767
/*position: relative;*/
68+
text-align: center;
6869
border: 0!important;
6970
z-index: 2;
7071
}
@@ -76,6 +77,19 @@ main {
7677
width: 350px;
7778
}
7879

80+
.loading-label {
81+
82+
font-size: 28px;
83+
line-height: 32px;
84+
position: absolute;
85+
margin-top: 100px;
86+
width: 100%;
87+
text-align: center;
88+
color: #FFFFFF;
89+
90+
}
91+
92+
7993
#controlPanel {
8094

8195
background-color: #02242F;
@@ -152,4 +166,10 @@ main {
152166

153167
#nav-collapse {
154168
z-index: 100!important;
169+
}
170+
171+
.span-estimate {
172+
173+
font-size:20px;
174+
155175
}

html/playground/alexnet.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,9 @@
114114

115115
<div id="loadingPad">
116116
<img id="loading" src="../../assets/img/loading/mouseLoading.gif">
117+
<div class="loading-label">
118+
Downloading AlexNet pre-trained model...<br>236MB <span class="span-estimate">- Estimate 20s to 5min</span>
119+
</div>
117120
</div>
118121
<div id="modelArea"></div>
119122
<div id="controlPanel">

html/playground/alexnet_zh.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,9 @@
114114

115115
<div id="loadingPad">
116116
<img id="loading" src="../../assets/img/loading/mouseLoading.gif">
117+
<div class="loading-label">
118+
正在下载AlexNet预训练模型...<br>236MB <span class="span-estimate">- 估计20s-5min</span>
119+
</div>
117120
</div>
118121
<div id="modelArea"></div>
119122
<div id="controlPanel">

0 commit comments

Comments
 (0)