Azure / Azure/MachineLearningNotebooks

How to register multiple files without directory name?

Đang mở
#1,473 0 bình luận 0 reaction 1 người được giao Được @shivp950 nhận Xem trên GitHub
ADO MLOps product-question
Ngôn ngữ chính
Jupyter Notebook
Star
4.4k
Fork
2.6k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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**

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.