Step #3: Use AutoML To Find the Optimal Hyperparameters
This lab will use the link from the left-hand navigation pane throughout the course of the lab.
Jupyter Notebook
The key objective of this lab is to use AutoML capability in TAO to find the best set of hyperparameters for a given dataset. You will evaluate the model accuracy of several experiments and choose the best model for your dataset.
More information on AutoML can be found at the following link: Technical blog: Training like an AI pro using NVIDIA TAO AutoML
Open and run through the AutoML notebook, by clicking the Jupyter Notebook link in the left hand navigation pane and then selecting and running lab3-automl.ipynb, in the tutorial folder. This will take approximately 12-18 hours to complete
Notebook steps:
Import data from previous steps. Setup dataset for training again and split into training and evaluation sets.
List available pretrained models & select the one to be used
Configure AutoML and hyperparameters. Depending on what model network is used there will be different hyperparameters that can be optimized. We can go with the default set or select additional parameters.
Run AutoML. AutoML will iterate the training with varying hyperparameters to find the best model. This step will take several hours and can be polled to check status.
View best model created by AutoML. The accuracy of the model created by AutoML should be better than the baseline without AutoML.