-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
73 lines (69 loc) · 2.1 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
<!DOCTYPE html>
<html lang="">
<head>
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.10.2/p5.js"></script>
<script src="./lib/nn.js"></script>
<script src="./lib/matrix.js"></script>
<script src="sketch.js"></script>
<!-- <script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.9.0/addons/p5.dom.min.js"></script> -->
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Doodle Classifier</title>
<style>
body {
padding: 0;
margin: 0;
background: #aaa;
}
button {
font-size: 24pt;
margin: 10px;
}
.cont {
margin-top: 300px;
position: absolute;
}
label {
font-family: "Courier New", Courier, monospace;
font-size: larger;
}
#ans {
font-weight: bolder;
font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
}
#going {
display: none;
}
</style>
<!-- <script src="../p5.js"></script> -->
</head>
<!-- some -->
<body>
<div class="cont">
<button id="train">train</button>
<button id="test">test</button>
<button id="guess">predict</button>
<button id="clr">clear</button><br />
<label for="">CAT: </label>
<label for="" id="cat_l" class="ans"></label><br />
<label for="">RAINBOW: </label>
<label for="" id="rainbow_l" class="ans"></label><br />
<label for="">TRAIN: </label>
<label for="" id="train_l" class="ans"></label><br />
<label for="">MOON: </label>
<label for="" id="moon_l" class="ans"></label><br /><br />
<label for="">PREDICTED: </label>
<label for="" id="ans" class="ans"></label> <br /><br />
<label for="">Test Accuracy: </label>
<label for="" id="acc"></label><br /><br />
<label for="">EPOCHS ===></label>
<label for="" id="epoch">0</label><br /><br />
<p>
<i
>after clicking on "train" button please wait for epoch to
complete!!!</i
>
</p>
</div>
</body>
</html>