From the course: Learning TensorFlow with JavaScript
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Exploration of the models and layers
From the course: Learning TensorFlow with JavaScript
Exploration of the models and layers
- [Narrator] Now, let's continue our expiration and take a look at the models and layers we've done in this project. So now that we have the data inside of our index.js here, remember the data at this point is transformed into actual numbers. So the images are not images. They're actually numbers. So once we have the numbers for the pixels of these images, we pass them into the model. So we can actually determine based on the patterns of these pixels, what numbers they are. So first, we create the model here, which is a sequential, which means that one row of layer comes after another. So the input of a layer is the output of the previous layers, and so on, and so forth 'til the end. And then we add a layer into our model. This is a convolutional neural network layer. And then we have the options based on the layers. So these are the options based on what we wanna do with the image. So if you wanna have more information about why they selected the convolutional layers, and why they…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.