You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/machine-learning/how-to-debug-pipelines.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
-
title: Debug and troubleshoot machine learning pipelines
2
+
title: Debug & troubleshoot ML pipelines
3
3
titleSuffix: Azure Machine Learning
4
-
description: Debug and troubleshoot machine learning pipelines in the Azure Machine Learning SDK for Python. Learn common pitfalls for developing pipelines, and tips to help you debug your scripts before and during remote execution. Learn how to use Visual Studio Code to interactively debug your machine learning pipelines.
4
+
description: Debug your Azure Machine Learning pipelines in Python. Learn common pitfalls for developing pipelines, and tips to help you debug your scripts before and during remote execution. Learn how to use Visual Studio Code to interactively debug your machine learning pipelines.
5
5
services: machine-learning
6
6
ms.service: machine-learning
7
7
ms.subservice: core
@@ -24,7 +24,7 @@ In this article, you learn how to debug and troubleshoot [machine learning pipel
24
24
## Debug and troubleshoot in the Azure Machine Learning SDK
25
25
The following sections provide an overview of common pitfalls when building pipelines, and different strategies for debugging your code that's running in a pipeline. Use the following tips when you're having trouble getting a pipeline to run as expected.
26
26
27
-
### Testing scripts locally
27
+
### Test scripts locally
28
28
29
29
One of the most common failures in a pipeline is that an attached script (data cleansing script, scoring script, etc.) is not running as intended, or contains runtime errors in the remote compute context that are difficult to debug in your workspace in the Azure Machine Learning studio.
30
30
@@ -44,7 +44,7 @@ Once you have a script setup to run on your local environment, it is much easier
44
44
> Once you can verify that your script is running as expected, a good next step is running the script in a single-step pipeline before
45
45
> attempting to run it in a pipeline with multiple steps.
46
46
47
-
### Debugging scripts from remote context
47
+
### Debug scripts from remote context
48
48
49
49
Testing scripts locally is a great way to debug major code fragments and complex logic before you start building a pipeline, but at some point you will likely need to debug scripts during the actual pipeline run itself, especially when diagnosing behavior that occurs during the interaction between pipeline steps. We recommend liberal use of `print()` statements in your step scripts so that you can see object state and expected values during remote execution, similar to how you would debug JavaScript code.
0 commit comments