forked from tensorflow/tfjs-examples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
97 lines (91 loc) · 2.18 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
<!doctype html>
<html>
<head>
<title>Pitch Training Accuracy</title>
</head>
<body>
<h3 id="waiting-msg">Waiting for server...</h3>
<div id="table">
<h2 style="text-align:center;">Pitch accuracy (%)</h2>
<div id="legend">
<div class="legend-item">
<div class="score"></div>
<div>Train set</div>
</div>
<div class="legend-item">
<div class="score validation"></div>
<div>Live set</div>
</div>
</div>
<div id="table-rows"></div>
<button id="eval-test-button">Eval Test</button>
</div>
<script src="dist/bundle.js"></script>
<style>
#table {
width: 660px;
display: none;
}
#table-rows {
border-right: 2px solid #bbb;
}
#table .row {
display: flex;
align-items: center;
margin: 25px 0;
}
#legend {
position: absolute;
}
.legend-item {
display: flex;
align-items: center;
margin-bottom: 20px;
}
.legend-item .score {
width: 30px;
margin-right: 10px;
}
.label {
text-align: center;
font-family: "Google Sans", sans-serif;
font-size: 24px;
color: #5f6368;
line-height: 24px;
font-weight: 500;
}
#table .label {
margin-right: 20px;
width: 360px;
text-align: right;
}
#table .score {
background-color: #0277bd;
height: 30px;
text-align: right;
line-height: 30px;
color: white;
padding-right: 10px;
box-sizing: border-box;
}
#table .score.validation {
background-color: #ef6c00;
}
html,
body {
font-family: Roboto, sans-serif;
color: #5f6368;
}
body {
background-color: rgb(248, 249, 250);
}
#accuracyCanvas > div {
display: none;
}
#eval-test-button {
padding: 10px;
font-size: 24px;
}
</style>
</body>
</html>