

本文為英文版的機器翻譯版本，如內容有任何歧義或不一致之處，概以英文版為準。

# Amazon SageMaker AI MLOps 疑難排解
<a name="mlopsfaq"></a>

使用下列內容，針對 SageMaker AI 中的 MLOps 問題進行疑難排解。本主題提供與常見錯誤及解決方法相關的資訊。

## 如果我嘗試刪除從 SageMaker AI 範本建立的 SageMaker AI 專案，然後因為非空白的 Amazon S3 儲存貯體或 Amazon ECR 儲存庫而收到錯誤訊息，該如何刪除專案？
<a name="collapsible-section-14"></a>

如果您嘗試刪除 SageMaker AI 專案並收到下列其中一個錯誤訊息：

```
The bucket you tried to delete is not empty
```

```
The repository with name 'repository-name' in registry 
        with id 'id' cannot be deleted because it still contains images
```

然後，您有非空的 Amazon S3 儲存貯體或 Amazon ECR 儲存庫，在刪除 SageMaker AI 專案之前需要手動刪除。 CloudFormation 不會為您自動刪除非空的 Amazon S3 儲存貯體或 Amazon ECR 儲存庫。