Azure / Azure/MachineLearningNotebooks

Limit of the length of string in description when the model is registered.

Aperta
#1,070 0 commenti 0 reazioni 1 assegnatario Assegnata a @shivp950 Vedi su GitHub
ADO MLOps product-feedback
Lingua principale
Jupyter Notebook
Stelle
4.4k
Fork
2.6k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Register with a long description:
```python
from azureml.core.model import Model

model = Model.register(model_path="sklearn_regression_model.pkl",
model_name="sklearn_regression_model",
tags={'area': "diabetes", 'type': "regression"},
description="""Limit of the length of string in description when the model is registered
Limit of the length of string in description when the model is registered.
Limit of the length of string in description when the model is registered.""",
workspace=ws)
```

**Return**
```python
ERROR - Received bad response from Model Management Service:
Response Code: 400

...
```

It works if you have a shorter description like
```python
description="""Limit of the length of string in description when the model is registered
Limit of the length of string in description when the model is registered."""
```

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.