Debugging non-terminal dataset errors - Rekognition

Debugging non-terminal dataset errors

The following are non-terminal errors that can occur during dataset creation or update. These errors can invalidate an entire JSON Line or invalidate annotations within a JSON Line. If a JSON Line has an error, it is not used for training. If an annotation within a JSON Line has an error, the JSON Line is still used for training, but without the broken annotation. For more information about JSON Lines, see Creating a manifest file.

You can access non-terminal errors from the console and by calling the ListDatasetEntries API. For more information, see Listing dataset entries (SDK).

The following errors are are also returned during training. We recommend that you fix these errors before training your model.For more information, see Non-Terminal JSON Line Validation Errors.

Accessing non-terminal errors

You can use the console to find out which images in a dataset have non-terminal errors. You can also call, call ListDatasetEntries API to get the error messages. For more information, see Listing dataset entries (SDK).

To access non-terminal errors(console)
  1. Open the Amazon Rekognition console at https://console.aws.amazon.com/rekognition/.

  2. Choose Use Custom Labels.

  3. Choose Get started.

  4. In the left navigation pane, choose Projects.

  5. In the Projects page, choose the project that you want to use. The details page for your project is displayed.

  6. If you want to view non-terminal errors in your training dataset, choose the Training tab. Otherwise choose the Test tab to view non-terminal errors in your test dataset.

  7. In the Labels section of the dataset gallery, choose Errors. The dataset gallery is filtered to only show images with errors.

  8. Choose Error underneath an image to see the error code. Use the information at Non-Terminal JSON Line Validation Errors to fix the error.

    Error dialog showing "ERROR_UNSUPPORTED_USE_CASE_TYPE" and "ERROR_NO_VALID_LABEL_ATTRIBUTES" under "Dataset record errors".