Azure / Azure/MachineLearningNotebooks
get_outputs() in StepRun is not accessible
- 主要語言
- Jupyter Notebook
- 星號
- 4.4k
- 分支
- 2.6k
- PR 合併指標
- 30 天內沒有已合併 PR
描述
I was exploring the sample - https://github.com/Azure/MachineLearningNotebooks/blob/master/how-to-use-azureml/machine-learning-pipelines/intro-to-pipelines/aml-pipelines-with-data-dependency-steps.ipynb.
I never managed to get the last but first code section running
```
# Get Steps
for step in pipeline_run1.get_steps():
print("Outputs of step " + step.name)
# Get a dictionary of StepRunOutputs with the output name as the key
output_dict = step.get_outputs()
for name, output in output_dict.items():
output_reference = output.get_port_data_reference() # Get output port data reference
print("\tname: " + name)
print("\tdatastore: " + output_reference.datastore_name)
print("\tpath on datastore: " + output_reference.path_on_datastore)
```
Error is like get_outputs() is not a method definition available. I tried in AML CI notebook with Kernel as: Python 3.8 - AzureML. I am not sure what I am missing. Could someone please help me unblock?
貢獻指南
這個儲存庫沒有索引到貢獻指南
研究方向
從連結的 pipelines 入門 notebook 開始,在 Python 3.8 AzureML kernel 中重現最後的「Get Steps」部分。檢查已安裝的 SDK 中 StepRun 缺少 get_outputs() 的原因,並將 notebook 的 API 用法與該環境進行比較。當範例部分能夠執行並列印每個步驟輸出的 datastore 和 path,或 notebook 記錄了所需的設定時,即可完成。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- azure, jupyter-notebook, python
- 領域
- documentation, machine-learning
- Issue 類型
- 缺陷
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100