—/100
Checkpoints
Create an AI Platform Notebook
/ 50
Clone the sample code
/ 50
Using the What-If Tool with Image Recognition Models
GSP710
Overview
In this lab, you explore the use of the What-If Tool (WIT) for image recognition models. Your task is to predict whether a person is smiling. The lab provides a CNN (Convolutional Neural Network) that is trained on a subset of CelebA dataset and visualizes the results on a separate test subset.
Objectives
In this lab, you will perform the following tasks:
-
Launch an AI Platform Notebook.
-
Download the pre-trained Keras model.
-
Define helper functions for dataset conversion from csv to tf.
-
Load the csv file into pandas dataframe and process it for WIT.
-
Load the Keras models.
-
Define the custom predict function for WIT.
Wenn Sie sich in Qwiklabs anmelden, erhalten Sie Zugriff auf den Rest des Labs – und mehr!
- Sie erhalten vorübergehenden Zugriff auf Google Cloud Console.
- Mehr als 200 Labs für Einsteiger und Experten.
- In kurze Sinneinheiten eingeteilt, damit Sie in Ihrem eigenen Tempo lernen können.