Azure / Azure/MachineLearningNotebooks

How to register multiple files without directory name?

Abierto
#1,473 0 comentarios 0 reacciones 1 asignado Reclamado por @shivp950 Ver en GitHub
ADO MLOps product-question
Lenguaje dominante
Jupyter Notebook
Estrellas
4.4k
Forks
2.6k
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

In the `Model.register()` class. We have `model_path` and `child_paths` option.

```
register(workspace, model_path, model_name, tags=None, properties=None, description=None, datasets=None, model_framework=None, model_framework_version=None, child_paths=None, sample_input_dataset=None, sample_output_dataset=None, resource_configuration=None)
```
However, if we do provide child_paths it will include the directory structure. That is,
![image](https://user-images.githubusercontent.com/52232270/118265060-4cd59980-b4d6-11eb-9f20-316c41122ca6.png)

Is there any way, to include just the files without the directory structure? Maybe making `model_paths` a list instead of a string.
---
#### Document Details

⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*

* ID: 391777fc-4073-28f0-6d56-b919e734904b
* Version Independent ID: b8a616d0-98f4-2171-d4f1-b753126c0e6d
* Content: [azureml.core.Model class - Azure Machine Learning Python](https://docs.microsoft.com/en-us/python/api/azureml-core/azureml.core.model(class)?view=azure-ml-py)
* Content Source: [AzureML-Docset/stable/docs-ref-autogen/azureml-core/azureml.core.Model(class).yml](https://github.com/MicrosoftDocs/MachineLearning-Python-pr/blob/live/AzureML-Docset/stable/docs-ref-autogen/azureml-core/azureml.core.Model(class).yml)
* Service: **machine-learning**
* Sub-service: **core**
* GitHub Login: @DebFro
* Microsoft Alias: **debfro**

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.