Azure / Azure/MachineLearningNotebooks

get_outputs() in StepRun is not accessible

Đang mở
#1,628 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
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ả

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?

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.