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
That's it! SageMaker will automatically monitor your training job for your and create a CloudWatch
54
+
That's it! Amazon SageMaker will automatically monitor your training job for your and create a CloudWatch
55
55
event if you run into exploding tensor values.
56
56
57
57
If you want greater configuration and control, we offer that too. Simply
@@ -63,7 +63,7 @@ Requires Python 3.6+, and this example uses tf.keras. Run
63
63
pip install smdebug
64
64
```
65
65
66
-
To use Sagemaker Debugger, simply add a callback hook:
66
+
To use Amazon SageMaker Debugger, simply add a callback hook:
67
67
```python
68
68
import smdebug.tensorflow as smd
69
69
hook = smd.KerasHook.(out_dir=args.out_dir)
@@ -85,13 +85,13 @@ print(f"Loss values were {trial.tensor('CrossEntropyLoss:0')}")
85
85
```
86
86
87
87
## How It Works
88
-
SageMaker Debugger uses a `hook` to store the values of tensors throughout the training process. Another process called a `rule` job
88
+
Amazon SageMaker Debugger uses a `hook` to store the values of tensors throughout the training process. Another process called a `rule` job
89
89
simultaneously monitors and validates these outputs to ensure that training is progressing as expected.
90
90
A rule might check for vanishing gradients, or exploding tensor values, or poor weight initialization.
91
91
If a rule is triggered, it will raise a CloudWatch event and stop the training job, saving you time
92
92
and money.
93
93
94
-
SageMaker Debugger can be used inside or outside of SageMaker. There are three main use cases:
94
+
Amazon SageMaker Debugger can be used inside or outside of SageMaker. There are three main use cases:
95
95
- SageMaker Zero-Script-Change: Here you specify which rules to use when setting up the estimator and run your existing script, no changes needed. See the first example above.
96
96
- SageMaker Bring-Your-Own-Container: Here you specify the rules to use, and modify your training script.
97
97
- Non-SageMaker: Here you write custom rules (or manually analyze the tensors) and modify your training script. See the second example above.
0 commit comments