Azure / Azure/MachineLearningNotebooks
get_outputs() in StepRun is not accessible
- Lenguaje dominante
- Jupyter Notebook
- Estrellas
- 4.4k
- Forks
- 2.6k
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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?
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Línea de trabajo
Empieza con el notebook vinculado de introducción a pipelines y reproduce la sección final “Get Steps” en un kernel de AzureML de Python 3.8. Comprueba por qué StepRun no tiene get_outputs() en el SDK instalado y compara el uso de la API del notebook con ese entorno. Se considera terminado cuando la sección de ejemplo se ejecuta e imprime el datastore y la ruta de la salida de cada paso, o cuando el notebook documenta la configuración necesaria.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- azure, jupyter-notebook, python
- Área
- documentation, machine-learning
- Tipo de issue
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100