This tutorial has several pages:
Deploying the model for batch predictions.
Each page assumes that you have already performed the instructions from the previous pages of the tutorial.
The email you received informing you that AI Platform has completed training your model has a link to your models:
Select the model to continue.
1. Create batch predictions
Select the Batch predictions tab in the model page, then select Create batch prediction.
The New batch prediction form appears. You will be providing a list of videos (source file) to be classified.
- Provide a Batch prediction name.
- For the Source path use
- Provide the Destination path to your bucket. Results will be added to the
- Select Create.
Once the job is done,
demo_data_predictions will show up under the
Batch prediction tab.
Click the demo-model-prediction link in the Batch predictions view.
Details of the batch prediction job appears.
Click the link to the right of Export location to view the results in your storage bucket.
The results in your storage bucket appear.
To see your results in the UI, click View results.
A video appears.
From the drop down, you can select other videos you want to see the results for.
You can also adjust the confidence threshold to hide/show the predictions.
View the results
In the results for your video annotation, AI Platform provides three types of information:
- Labels for the video. You can find this information under the Segment tab below the video on the results page.
- Labels for shots within the video. You can find this information under the Shot tab below the video on the results page.
- Labels for each 1-second interval within the video. You can find this information under the 1 Second Interval tab below the video on the results page.
If you want to see more labels, you can change the threshold score when you request a prediction. AutoML video only displays the labels that are above the specified threshold.
If the prediction fails, the results in the list show a red icon on the Recent Predictions list.
If only one video in the prediction attempt failed, the prediction shows green in the Recent Predictions list. On the results page for that prediction, you can view the results for the videos that AI Platform has annotated.
Follow the last page of the tutorial to clean up resources that you have created.