From the course: Full-Stack Deep Learning with Python
Unlock this course with a free trial
Join today to access over 25,300 courses taught by industry experts.
Preparing data for image classification using CNN - Python Tutorial
From the course: Full-Stack Deep Learning with Python
Preparing data for image classification using CNN
Here I am on a brand new Colab Notebook EMNIST classification using convolutional neural networks. Now a new notebook implies a new Colab runtime, which means we'll need to restart MLflow on this local machine. The P4 at the bottom right refers to the P4 GPU. That's what we'll use to train our image classification convolutional neural network on the EMNIST data. Now we'll need to install the libraries once again because we are on a new runtime. Torch, Matplotlib, NumPy, and Pandas, we need all of these. We also need PyTorch Lightning, because we'll be setting up our model using PyTorch Lightning, and we also need MLflow. This will get us MLflow 3.9.0, the latest version at the time of this recording. If the version has changed, make sure you explicitly install MLflow 3.9.0 so that you can follow along with this demo exactly. Once you've installed all of these libraries, you may be prompted to restart your current Colab session, so that the new libraries are available to you. And we…
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.
Contents
-
-
-
-
-
(Locked)
Loading and exploring the EMNIST dataset5m 29s
-
(Locked)
Logging metrics parameters and artifacts in MLflow7m 38s
-
(Locked)
Set up the dataset and data loader3m 58s
-
(Locked)
Configuring the image classification DNN model5m 3s
-
(Locked)
Training a model within an MLflow run4m 9s
-
(Locked)
Exploring parameters and metrics in MLflow5m 15s
-
(Locked)
Making predictions using MLflow artifacts5m 41s
-
(Locked)
Preparing data for image classification using CNN4m 9s
-
(Locked)
Configuring and training the model using MLflow runs6m 26s
-
(Locked)
Visualizing charts metrics and parameters on MLflow7m 7s
-
(Locked)
-
-
-