From 43086a9b73dc043f0b7e0786b63f0d9192d2ce18 Mon Sep 17 00:00:00 2001 From: Eduardo Leao Date: Tue, 26 Mar 2024 03:02:14 -0300 Subject: [PATCH] fixed file-tree --- assets/demo/demo.css | 45 ++++++++++++++++++++-- assets/demo/demo.html | 90 +++++++++++++++++++++++++++++++++---------- package.json | 23 +++++++++++ src/index.js | 44 +++++++++++++++++++++ src/layers.js | 2 +- src/tensor.js | 1 - tests/test.js | 32 ++++++++++++--- 7 files changed, 205 insertions(+), 32 deletions(-) create mode 100644 package.json create mode 100644 src/index.js diff --git a/assets/demo/demo.css b/assets/demo/demo.css index d6f8e59..76a6cb2 100644 --- a/assets/demo/demo.css +++ b/assets/demo/demo.css @@ -18,6 +18,7 @@ h1 { h2 { text-align: center; margin: auto; + color: #0d0d0d; } .container { @@ -39,7 +40,7 @@ h2 { max-width: 800px; background-color: #f4f4f4; padding: 20px; - margin-top: 15px; + margin-top: 11px; margin-left: 15px; border-radius: 10px; box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1); @@ -68,7 +69,7 @@ h2 { #left-separator { width: 70%; - margin-top: 15px; + margin-top: 11px; margin-left: 15px; margin-bottom: 20px; align-self: bottom; @@ -141,7 +142,7 @@ button:active { } .icon { - width: 70%; + width: 72%; margin: auto; } @@ -165,3 +166,41 @@ button:active { #graph { width: 100%; } + +li{ + font-size: 15px; + color: #464646; +} + +span { + font-size: 16px; + font-weight: bold; + color: #0d0d0d; +} + +input { + font-size: 14.5px; +} + +#iter { + margin-left: 50px; + margin-top: 0px; + font-size: 16px; + font-weight: bold; + color:#1b1b1b; +} + +#total-visited { + margin-left: 50px; + margin-top: 0px; + font-size: 16px; + font-weight: bold; + color:#1b1b1b; +} + +#loss { + margin-left: 50px; + font-size: 16px; + font-weight: bold; + color:#1b1b1b; +} \ No newline at end of file diff --git a/assets/demo/demo.html b/assets/demo/demo.html index 952d6dd..f9942ac 100644 --- a/assets/demo/demo.html +++ b/assets/demo/demo.html @@ -20,17 +20,29 @@
- + +
+ +
+
    +
  • DATASET: This model was trained on a Dummy dataset, composed of randomly generated images.
  • +
    +
  • INPUT: The batch size is 8, and the images have a dimension of 32x32.
  • +
    +
  • OUTPUT: The output is a number from 0 to 31.
  • +
    +
  • TRAINING: The Model is trained using an Adam Optimizer and a Cross Entropy Loss.
  • +
-

Training Parameters

+

Training Parameters

- + + @@ -51,7 +63,7 @@

Training Parameters

-

Model Layers

+

Model Layers

@@ -70,11 +82,9 @@

Model Layers

Graph

-
-

- This model was trained on a Dummy dataset, composed of randomly generated images. The batch size is 8, and the images have a dimension of 32x32. The output is a number from 0 to 31. -

-
+

Iteration:

+

Total Training Examples:

+

Loss: