Azure / Azure/MachineLearningNotebooks

Model with ' ' in `model_path` fails ACI deployment

Ouverte
#1,630 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Jupyter Notebook
Étoiles
4.4k
Forks
2.6k
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

Reproduisez l’échec en suivant tutorials/image-classification-mnist-data/img-classification-part2-deploy.ipynb, y compris le chemin renommé du modèle dans la cellule 1 d’enregistrement du modèle et la cellule 3 de score.py. Comparez le comportement du déploiement ACI avec le comportement signalé de LocalWebservice et AKS. Le travail est considéré comme terminé lorsque le déploiement ACI réussit si le chemin du fichier ou du dossier du modèle contient des espaces.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
azure, jupyter-notebook, python
Domaine
cloud, machine-learning
Type d'issue
Bug
Difficulté
4/5
Temps estimé
3-5 jours
Activité
À l'abandon
Clarté
Clairement spécifiée
Accessibilité débutants
35/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.