Azure / Azure/MachineLearningNotebooks

get_outputs() in StepRun is not accessible

Aperta
#1,628 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Jupyter Notebook
Stelle
4.4k
Fork
2.6k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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?

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Inizia con il notebook introduttivo alle pipeline collegato e riproduci la sezione finale “Get Steps” in un kernel AzureML Python 3.8. Verifica perché StepRun non dispone di get_outputs() nell’SDK installato e confronta l’utilizzo dell’API del notebook con quell’ambiente. Il lavoro è completato quando la sezione di esempio viene eseguita e stampa il datastore e il percorso dell’output di ogni step, oppure quando il notebook documenta la configurazione necessaria.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
azure, jupyter-notebook, python
Ambito
documentation, machine-learning
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.