Azure / Azure/MachineLearningNotebooks

Is it possible to retrieve metadata associated with the blobs using Datastore?

オープン
#1,286 コメント 4 件 リアクション 0 件 担当者 1 名 @MayMSFT が担当を希望しています GitHub で見る
ADO Data4ML product-gap product-question
主要言語
Jupyter Notebook
スター
4.4k
フォーク
2.6k
PR マージ指標
30日以内にマージされた PR はありません

説明

We have some images in Azure storage account. All those images (blobs) have metadata .
calling download we can download the files from the provided path but we are missing the metadata associated to those files.
In fact metadata of the files contains important information on each image (e.g. tags) that we need them in our ML pipeline.
Is there any way to keep metadata of a blob storage when we download?
E.g.:
```python
blob_datastore = Datastore.register_azure_blob_container(workspace=aml_workspace,
datastore_name=blob_datastore_name,
container_name=container_name,
account_name=account_name,
account_key=account_key)

def_blob_store = Datastore(aml_workspace, "train")

datastore_path = [
DataPath(def_blob_store, '*.jpeg')]

file_dataset = Dataset.File.from_files(path=datastore_path)
file_dataset.download("files")
```
---
#### Document Details

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

* ID: b080f459-b191-a60e-e327-720ef095165c
* Version Independent ID: 53d1b412-0c47-1044-3c6c-7c8c0f1eb0c0
* Content: [azureml.data.FileDataset class - Azure Machine Learning Python](https://docs.microsoft.com/en-us/python/api/azureml-core/azureml.data.filedataset?view=azure-ml-py)
* Content Source: [AzureML-Docset/stable/docs-ref-autogen/azureml-core/azureml.data.FileDataset.yml](https://github.com/MicrosoftDocs/MachineLearning-Python-pr/blob/live/AzureML-Docset/stable/docs-ref-autogen/azureml-core/azureml.data.FileDataset.yml)
* Service: **machine-learning**
* Sub-service: **core**
* GitHub Login: @DebFro
* Microsoft Alias: **debfro**

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。