有没有办法在 Azure ML studio 中注销环境

Is there a way to un-register an environment in Azure ML studio

我正在尝试在 Azure ML 中部署一个模型,但我的 score.py 一直收到错误 'model not found'。所以我决定重新开始。我注册了自定义环境,而环境 class 的 Azure ML API 似乎没有 'delete' 或 'unregister' 之类的东西。有没有办法解决这个问题?谢谢

您可以使用 delete method in the Model class 删除已注册的模型。

这也可以通过 Azure CLI 完成:

az ml model delete <model id>

其他命令可以在这里找到:az ml model