From the course: Full-Stack Deep Learning with Python
Unlock this course with a free trial
Join today to access over 24,400 courses taught by industry experts.
Making predictions using MLflow artifacts - Python Tutorial
From the course: Full-Stack Deep Learning with Python
Making predictions using MLflow artifacts
- [Instructor] Let's visualize some of the training metrics for our model within our notebook, there is a metrics.csv file under the log directory of our PyTorch Lightning model trainer. I'm going to read the contents of this metrics.csv file, and this is a data frame that gives you all of the training accuracy, the various steps, and other details of training. I'm going to use Seaborn to visualize some of these training and validation metrics as a line plot. If you take a look at this line plot, you see the validation accuracy, validation loss, and training accuracy and loss per epoch. Observe the two lines for accuracy, the straight blue and the dotted green line. The accuracy improves during training on the training data and the validation data while the loss falls. Every MLflow run has a unique run ID, and you can access this programmatically by calling mlflow.last_active_run().info.run_id, this is the run ID of the run…
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
-
-
-
-
Loading and exploring the EMNIST dataset4m 53s
-
(Locked)
Logging metrics, parameters, and artifacts in MLflow6m 6s
-
(Locked)
Set up the dataset and data loader3m 47s
-
(Locked)
Configuring the image classification DNN model4m 56s
-
(Locked)
Training a model within an MLflow run4m 6s
-
(Locked)
Exploring parameters and metrics in MLflow4m 19s
-
(Locked)
Making predictions using MLflow artifacts5m 21s
-
-
-
-