menu
arrow_back

Using the What-If Tool with Image Recognition Models

—/100

Checkpoints

arrow_forward

Create an AI Platform Notebook

Clone the sample code

Using the What-If Tool with Image Recognition Models

1 个小时 5 个积分

GSP710

Google Cloud Self-Paced Labs

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.

加入 Qwiklabs 即可阅读本实验的剩余内容…以及更多精彩内容!

  • 获取对“Google Cloud Console”的临时访问权限。
  • 200 多项实验,从入门级实验到高级实验,应有尽有。
  • 内容短小精悍,便于您按照自己的节奏进行学习。
加入以开始此实验