Azure / Azure/MachineLearningNotebooks

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

Offen
#1,070 0 Kommentare 0 Reaktionen 1 zugewiesene Person Zugewiesen an @shivp950 Auf GitHub ansehen
ADO MLOps product-feedback
Vorherrschende Sprache
Jupyter Notebook
Sterne
4.4k
Forks
2.6k
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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."""
```

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.