End of support notice: On October 31, 2025, AWS
will discontinue support for Amazon Lookout for Vision. After October 31, 2025, you will
no longer be able to access the Lookout for Vision console or Lookout for Vision resources.
For more information, visit this
blog post
Deleting a dataset
You can delete a dataset from a project by using the console or the
DeleteDataset
operation. The images referenced by a dataset aren't
deleted. If you delete the test dataset from a project that has a training and a test
dataset, the project reverts to a single dataset project—the remaining dataset is
split during training to create a training and test dataset. If you delete the training
dataset, you can't train a model in the project until you create a new training
dataset.
Deleting a dataset (console)
Perform the steps in the following procedure to delete a dataset. If you delete all of the datasets in a project, the Create dataset page is displayed.
To delete a dataset (console)
-
Open the Amazon Lookout for Vision console at https://console.aws.amazon.com/lookoutvision/
. -
Choose Get started.
-
In the left navigation pane, choose Projects.
-
On the Projects page, select the project that contains the dataset that you want to delete.
-
In the left navigation pane, choose Dataset.
-
Choose Actions and then select the dataset that you want to delete.
-
In the Delete dialog box, enter delete to confirm that you want to delete the dataset.
-
Choose Delete training dataset or Delete test dataset to delete the dataset.
Deleting a dataset (SDK)
Use the DeleteDataset
operation to delete a dataset.
To delete a dataset (SDK)
-
If you haven't already done so, install and configure the AWS CLI and the AWS SDKs. For more information, see Step 4: Set up the AWS CLI and AWS SDKs.
Use the following example code to delete a model.