Azure / Azure/MachineLearningNotebooks

Model with ' ' in `model_path` fails ACI deployment

未关闭
#1,630 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Jupyter Notebook
星标
4.4k
派生
2.6k
PR 合并指标
30 天内没有已合并 PR

描述

To reproduce:
1. rename `tutorials/image-classification-mnist-data/sklearn_mnist_model.pkl` to `sklearn mnist model.pkl`
2. edit `tutorials/image-classification-mnist-data/img-classification-part2-deploy.ipynb` to reflect Step 1 (in model-registration, cell 1, and in `score.py`, cell 3)
3. run `img-classification-part2-deploy.ipynb`- the "Deploy in ACI" step fails:

```
Service deployment polling reached non-successful terminal state, current service state: Transitioning
Operation ID: b8141a0c-55e4-4cd4-b30d-da7d1debd3e1
More information can be found using '.get_logs()'
Error:
{
"code": "DeploymentTimedOut",
"statusCode": 504,
"message": "The deployment operation polling has TimedOut. The service creation is taking longer than our normal time. We are still trying to achieve the desired state for the web service. Please check the webservice state for the current webservice health. You can run print(service.state) from the python SDK to retrieve the current state of the webservice.
Please refer to https://aka.ms/debugimage#dockerlog for more information."
}
```

The ACI deployment also failed when `model_path` specifies a folder with spaces in its name. This did _not_ appear to affect `LocalWebservice` or AKS deployments.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。