Skip to content
This repository was archived by the owner on Apr 6, 2020. It is now read-only.

Commit 41e594c

Browse files
committed
fix merge conflixt
2 parents f62b210 + 1ac6d20 commit 41e594c

File tree

31 files changed

+62
-59
lines changed

31 files changed

+62
-59
lines changed

javascript/CharRNN/CharRNN_Interactive/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ <h1>Interactive CharRNN Text Generation Example</h1>
1212
<h2>This example uses a pre-trained model on a corpus of <a href="https://en.wikipedia.org/wiki/Virginia_Woolf">Virginia Woolf</a></h2>
1313
<textarea id="textInput" style="width: 300px; height: 50px;" placeholder="type here"></textarea>
1414
<br /> length:
15-
<input id="lenSlider" type="range" min="1" max="100" value="20" /> <span id="length">20</span>
15+
<input id="lenSlider" type="range" min="1" max="100" value="20" /> <span id="length">20</span>
1616
<br /> temperature:
17-
<input id="tempSlider" type="range" min="0" max="1" step="0.01" /><span id="temperature">0.5</span>
17+
<input id="tempSlider" type="range" min="0" max="1" step="0.01" /><span id="temperature">0.5</span>
1818
<p id="status">Loading Model</p>
1919
<p id="result">
2020
<span id="original"></span><span id="prediction"></span>

javascript/CharRNN/CharRNN_Text/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@
1111
<h1>LSTM Text Generation Example</h1>
1212
<h2>This example uses a pre-trained model on a corpus of <a href="https://en.wikipedia.org/wiki/Virginia_Woolf">Virginia Woolf</a></h2>
1313
<p>seed text:
14-
<input id="textInput" value="The meaning of life is" />
14+
<input id="textInput" value="The meaning of life is" />
1515
</p>
1616
<p>length:
17-
<input id="lenSlider" type="range" min="10" max="500" value="100" /> <span id="length">100</span></p>
17+
<input id="lenSlider" type="range" min="10" max="500" value="100" /> <span id="length">100</span></p>
1818
<p>temperature:
19-
<input id="tempSlider" type="range" min="0" max="1" step="0.01" /><span id="temperature">0.5</span></p>
19+
<input id="tempSlider" type="range" min="0" max="1" step="0.01" /><span id="temperature">0.5</span></p>
2020
<p id="status">Loading Model</p>
2121
<button id="generate">generate</button>
2222
<p id="result"></p>

javascript/CharRNN/CharRNN_Text_Stateful/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ <h1>Stateful CharRNN Text Generation Example</h1>
1515
<p>Instead of feeding every single character every frame to predict the next character, we feed only the last character, and instruct the CharRNN to remember its internal state.</p>
1616
<p>This example uses a pre-trained model on a corpus of <a href="https://en.wikipedia.org/wiki/Virginia_Woolf">Virginia Woolf</a></p>
1717
<p>seed text:
18-
<input id="textInput" value="The sky was blue and " />
18+
<input id="textInput" value="The sky was blue and " />
1919
</p>
2020
<p>temperature:
21-
<input id="tempSlider" type="range" min="0" max="1" step="0.01" /><span id="temperature">0.5</span>
21+
<input id="tempSlider" type="range" min="0" max="1" step="0.01" /><span id="temperature">0.5</span>
2222
</p>
2323
<p><button id="reset">Reset</button><button id="start">Start</button><button id="single">Single</button></p>
2424
<p id="status">Loading Model</p>

javascript/FeatureExtractor/FeatureExtractor_Image_Regression/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ <h2>(Train a Neural Network to move the red square)</h2>
1717
</div>
1818
<h6><span id="modelStatus">Loading base model...</span> | <span id="videoStatus">Loading video...</span></h6>
1919
<p>
20-
<input type="range" name="slider" id="slider" min="0.01" max="1.0" step="0.01" value="0.5" />
20+
<input type="range" name="slider" id="slider" min="0.01" max="1.0" step="0.01" value="0.5" />
2121
</p>
2222
<br />
2323
<p>

javascript/ImageClassification/ImageClassification/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<body>
1010
<h1>Image classification using MobileNet</h1>
1111
<p>The MobileNet model labeled this as <span id="result">...</span> with a confidence of <span id="probability">...</span>.</p>
12-
<img src="images/bird.jpg" id="image" width="400" />
12+
<img src="images/bird.jpg" id="image" width="400" />
1313
<script src="sketch.js"></script>
1414
</body>
1515

javascript/Pix2Pix/Pix2Pix_callback/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ <h1>Pix2Pix Edges2Pichaku Example</h1>
1616
<p>4. You could click the "Clear" button to clear the canvas and draw again.</p>
1717
<p id="status">Loading Model... Please wait...</p>
1818

19-
<img id="inputImage" width="256px" src="images/input.png" alt="input image" />
20-
<img id="outputImage" width="256px" src="" alt="output image" />
19+
<img id="inputImage" width="256px" src="images/input.png" alt="input image" />
20+
<img id="outputImage" width="256px" src="" alt="output image" />
2121

2222
<div class="flex">
2323
<div>

javascript/Pix2Pix/Pix2Pix_promise/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ <h1>Pix2Pix Edges2Pichaku Example</h1>
1616
<p>4. You could click the "Clear" button to clear the canvas and draw again.</p>
1717
<p id="status">Loading Model... Please wait...</p>
1818

19-
<img id="inputImage" width="256px" src="images/input.png" alt="input image" />
20-
<img id="outputImage" width="256px" src="" alt="output image" />
19+
<img id="inputImage" width="256px" src="images/input.png" alt="input image" />
20+
<img id="outputImage" width="256px" src="" alt="output image" />
2121

2222
<div class="flex">
2323
<div>

javascript/PoseNet/PoseNet_image_single/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<body>
1111
<h1>PoseNet example on image with single detection</h1>
1212
<p id='status'>Loading model...</p>
13-
<img id="image" style="display:none" src="data/runner.jpg" alt="runner image" />
13+
<img id="image" style="display:none" src="data/runner.jpg" alt="runner image" />
1414
<canvas id="canvas"></canvas>
1515
<p>image via: <a href="https://www.pexels.com/photo/topless-man-wearing-grey-and-black-shorts-sprinting-on-concrete-road-1401796/" target="_blank">Pexels</a></p>
1616
<script src="sketch.js"></script>

javascript/Sentiment/Sentiment_Interactive/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ <h1>Sentiment Analysis Demo</h1>
1212
maximum of 200 words and only the 20,000 most common words in the reviews are used.
1313
</p>
1414
<p id="statusText"></p>
15-
<input id="inputText" type="text" value="Today is the happiest day and is full of rainbows!" />
15+
<input id="inputText" type="text" value="Today is the happiest day and is full of rainbows!" />
1616
<button id="submitBtn">Submit</button>
1717
<p>sentiment score:<span id="score"></span></p>
1818
<script src="sketch.js"></script>

javascript/Sentiment/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ <h3>
2727
<div>
2828
<div class="row">
2929
<p>
30-
<input type="text" style="width: 100%" placeholder="input sentence to analize" id="inputText" />
30+
<input type="text" style="width: 100%" placeholder="input sentence to analize" id="inputText" />
3131
</p>
3232
<p>
3333
<button id="submit" class="btn btn-primary">predict sentiment</button>

0 commit comments

Comments
 (0)