Skip to content

Commit

Permalink
Deployed 5415083 with MkDocs version: 1.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
dmccreary committed Jul 23, 2023
1 parent d5591ab commit 98318cc
Show file tree
Hide file tree
Showing 16 changed files with 1,665 additions and 57 deletions.
68 changes: 68 additions & 0 deletions admin/gpu-parts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1416,6 +1416,74 @@ <h2 id="visibility">Visibility</h2>
on a Arduino Nano might be a better idea. See the <a href="https://github.com/dmccreary/moving-rainbow">Moving Rainbow</a> project for
sample designs. We create these at the IoT hackthons each year.</p>
<h2 id="sample-parts-list">Sample Parts List</h2>
<h3 id="2023-update">2023 Update</h3>
<p><a href="https://pcpartpicker.com/list/mrFYPX">PCPartPicker Part List $769 with Monitor</a> by Neal Kelly</p>
<table>
<thead>
<tr>
<th>Part Name</th>
<th>Description</th>
<th>Price</th>
<th>Link</th>
</tr>
</thead>
<tbody>
<tr>
<td>CPU</td>
<td>AMD Ryzen 5 3600 3.6 GHz 6-Core Processor</td>
<td>$95.00</td>
<td><a href="https://www.amazon.com/">Amazon</a></td>
</tr>
<tr>
<td>Motherboard</td>
<td>MSI A520M-A PRO Micro ATX AM4 Motherboard</td>
<td>$101.11</td>
<td><a href="https://www.amazon.com/">Amazon</a></td>
</tr>
<tr>
<td>Memory</td>
<td>Silicon Power SP016GBLFU320X02 16 GB (1 x 16 GB) DDR4-3200 CL22 Memory</td>
<td>$23.99</td>
<td><a href="https://www.amazon.com/">Amazon</a></td>
</tr>
<tr>
<td>Storage</td>
<td>TEAMGROUP MP33 512 GB M.2-2280 PCIe 3.0 X4 NVME Solid State Drive</td>
<td>$22.49</td>
<td><a href="https://www.amazon.com/">Amazon</a></td>
</tr>
<tr>
<td>Video Card</td>
<td>Asus Dual GeForce RTX 3060 V2 OC Edition GeForce RTX 3060 12GB 12 GB Video Card</td>
<td>$299.99</td>
<td><a href="https://www.amazon.com/">Amazon</a></td>
</tr>
<tr>
<td>Case</td>
<td>Thermaltake Versa H18 MicroATX Mini Tower Case</td>
<td>$49.99</td>
<td><a href="https://www.amazon.com/">Amazon</a></td>
</tr>
<tr>
<td>Power Supply</td>
<td>be quiet! Pure Power 11 400 W 80+ Gold Certified ATX Power Supply</td>
<td>$89.69</td>
<td><a href="https://www.amazon.com/">Amazon</a></td>
</tr>
<tr>
<td>Monitor</td>
<td>Acer V227Q Abmix 21.5" 1920 x 1080 75 Hz Monitor</td>
<td>$87.29</td>
<td><a href="https://www.amazon.com/">Amazon</a></td>
</tr>
<tr>
<td><strong>Total</strong></td>
<td></td>
<td><strong>$769.55</strong></td>
<td></td>
</tr>
</tbody>
</table>
<table>
<thead>
<tr>
Expand Down
8 changes: 5 additions & 3 deletions demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1437,10 +1437,12 @@


<h1 id="demos">Demos</h1>
<p>Although our students love hands-on learning with our DonkeyCars, there are other aspects of Artificial Intellice we like discuss in our classes. Here some demos we use in our classrooms.</p>
<p>Although our students love hands-on learning with our DonkeyCars, there are other aspects of Artificial Intelligence we like to discuss in our classes. Here are some demos we use in our classrooms.</p>
<h2 id="the-teachable-machine-by-google">The Teachable Machine by Google</h2>
<p>This demo works with almost any PC that has a built-in video camera. You give it a set of images or pictures, or sounds and you build a model that predicts what a new images our sounds might be. This is called a "classification" model.
<a href="https://teachablemachine.withgoogle.com/">Teachable Machine</a></p>
<p>This demo works with almost any PC that has a built-in video camera. You give it a set of images or pictures, or sounds and you build a model that predicts what a new images our sounds might be. This is called a "classification" model.</p>
<ul>
<li><a href="https://teachablemachine.withgoogle.com/">Teachable Machine</a></li>
</ul>
<p>Much of our classroom work is centered around the hot topic of Deep Learning. But AI is much more than just Deep Learning. Here are a few other areas to consider. (Taken from the book The Master Algorithm)</p>
<h2 id="5-camps-of-machine-learning-demos">5 Camps of Machine Learning Demos</h2>
<h3 id="connectionists-neural-networks">Connectionists (Neural Networks)</h3>
Expand Down
Binary file added img/donkey-car.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/event-journey-map.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/journey-map.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/joystick-F710.webp
Binary file not shown.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1473,9 +1473,9 @@

<h1 id="welcome-to-the-ai-racing-league">Welcome to the AI Racing League</h1>
<p><em>Promoting equity and innovation in AI education.</em></p>
<p><img alt="" src="img/arl-logo.png" /></p>
<p><img alt="" src="./img/journey-map.pngimg/arl-logo.png" /></p>
<p>The AI Racing League is a fun way to learn the concepts behind artificial intelligence! We learn AI by teaching small remote-controlled (RC) cars to drive around a track autonomously. The cars use a low-cost Raspberry Pi computer (or NVIDIA Nano) with a camera. Students drive around the track and gather a set of images to "train" a neural network that can be used to automatically steer the car.</p>
<p>In addition to teaching machine learning, this course also teaches concepts like Python programming, computer vision, data science and generative AI. Our curriculum is inspired by the <a href="glossary#donkey-car">DonkeyCar</a> and the <a href="glossary#coder-dojo">CoderDojo</a> mentoring system. We feature a wide-variety of lesson plans from 5th-grade up to college-level participants.</p>
<p>In addition to teaching machine learning, this course also teaches concepts like Python programming, computer vision, data science and generative AI. Our curriculum is inspired by the <a href="glossary#donkey-car">DonkeyCar</a> and the <a href="glossary#coder-dojo">CoderDojo</a> mentoring system. We feature a wide variety of lesson plans from 5th-grade up to college-level participants.</p>
<p>Our secret sauce is to combine the right hardware, software, mentors and a flexible learning curriculum to create fun events that students love to participate in.</p>
<h2 id="current-status">Current Status</h2>
<p>We are in the process of restarting our events starting in the fall of 2023. Please contact <a href="https://www.linkedin.com/in/danmccreary/">Dan McCreary</a> if you would like to participate.</p>
Expand Down
35 changes: 35 additions & 0 deletions journey-map.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
/* Add your desired styling here */

body {
font-family: Arial, Helvetica, sans-serif;
}

.map-container {
position: relative;
width: 400px; /* Adjust as per your map image */
}

.regions {
position: absolute;
top: 0;
left: 0;
}

.region {
position: absolute;
border: 1px solid black;
background-color: rgba(255, 255, 255, 0.3);
cursor: pointer;
}

#tooltip {
position: absolute;
top: 0;
left: 0;
padding: 5px;
background-color: #fff;
border: 1px solid #ccc;
box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
display: none;
}

28 changes: 28 additions & 0 deletions journey-map.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<!DOCTYPE html>
<html>
<head>
<title>Map Hover Demo</title>
<link rel="stylesheet" type="text/css" href="journey-map.css">
</head>
<body>
<p>Event Journey Map</p>
<div class="map-container">
<img src="./img/journey-map.png" id="map" alt="Map with Regions">
<div class="regions">
<!-- row 1 -->
<div class="region" data-x="20" data-y="100" data-width="100" data-height="50" data-text="Setup" data-url="./jm/setup"></div>
<div class="region" data-x="120" data-y="100" data-width="100" data-height="50" data-text="Calibration" data-url="./jm/calibration"></div>
<div class="region" data-x="220" data-y="100" data-width="100" data-height="50" data-text="Drive Manual" data-url="./jm/drive-manual"></div>
<div class="region" data-x="330" data-y="100" data-width="100" data-height="50" data-text="Gather Images" data-url="./jm/gather-images"></div>
<!-- row 2 -->
<div class="region" data-x="20" data-y="200" data-width="100" data-height="50" data-text="Transfer Images to GPU" data-url="./jm/transfer-to-images"></div>
<div class="region" data-x="120" data-y="200" data-width="100" data-height="50" data-text="Build Model" data-url="./jm/build-model"></div>
<div class="region" data-x="220" data-y="200" data-width="100" data-height="50" data-text="Transfer Model to Car" data-url="./jm/transfer-model"></div>
<div class="region" data-x="320" data-y="200" data-width="100" data-height="50" data-text="Drive Autonomously" data-url="./jm/drive-auto"></div>
<!-- Add more regions as needed -->
</div>
</div>
<div id="tooltip" class="hidden">Hover over a region</div>
<script src="./journey-map.js"></script>
</body>
</html>
46 changes: 46 additions & 0 deletions journey-map.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
document.addEventListener("DOMContentLoaded", function () {
console.log("Document is loaded and parsed");

const map = document.getElementById("map");
const tooltip = document.getElementById("tooltip");
const regions = document.querySelectorAll(".regions .region");

console.log(`Found ${regions.length} region elements`);

regions.forEach((region, index) => {
console.log(`Region ${index + 1}: `, region);

region.addEventListener("mouseover", function (event) {
const { x, y, width, height, text, url } = region.dataset;

console.log(`Mouseover event for Region ${index + 1} at coordinates (x: ${x}, y: ${y}). Width: ${width}, Height: ${height}. Text: ${text}, URL: ${url}`);

tooltip.innerText = text;
tooltip.style.top = `${parseInt(y) + map.offsetTop}px`;
tooltip.style.left = `${parseInt(x) + map.offsetLeft + parseInt(width)}px`;
tooltip.style.display = "block";
});

region.addEventListener("mouseout", function (event) {
console.log(`Mouseout event for Region ${index + 1}`);
tooltip.style.display = "none";
});

region.addEventListener("click", function (event) {
const { url } = region.dataset;
console.log(`Click event for Region ${index + 1}, navigating to URL: ${url}`);
window.location.href = url;
});

region.addEventListener("mouseover", function (event) {
const { x, y, width, height, text, url } = region.dataset;
console.log(`x and y values before parsing: x=${x}, y=${y}`);
const parsedX = parseInt(x);
const parsedY = parseInt(y);
console.log(`x and y values after parsing: x=${parsedX}, y=${parsedY}`);

// Rest of your code...
});

});
});
2 changes: 1 addition & 1 deletion search/search_index.json

Large diffs are not rendered by default.

Loading

0 comments on commit 98318cc

Please sign in to comment.