Azure / Azure/MachineLearningNotebooks

Model with ' ' in `model_path` fails ACI deployment

オープン
#1,630 コメント 1 件 リアクション 0 件 担当者 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.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

tutorials/image-classification-mnist-data/img-classification-part2-deploy.ipynb に従い、model-registration セル 1 と score.py セル 3 の名前変更後のモデルパスを含めて、失敗を再現します。ACI のデプロイ動作を、報告されている LocalWebservice および AKS の動作と比較します。モデルファイルまたはモデルフォルダーのパスにスペースが含まれている場合に ACI のデプロイが成功すれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
azure, jupyter-notebook, python
領域
cloud, machine-learning
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
明確に書かれている
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。