Skip to content

Commit e2a2058

Browse files
ddavydenkorahul003
authored andcommitted
cleaned up examples folder a bit (aws#97)
* cleaned up examples folder a bit * pre-commit modifications * Update examples/mxnet/README.md * Update examples/mxnet/README.md * fixed mxnet tests * Added xgboost readme back to examples folder
1 parent cbebcaa commit e2a2058

16 files changed

+57
-1898
lines changed

examples/mxnet/README.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,22 @@
1-
## Example Notebooks
1+
# Examples
2+
## Example notebooks
23
Please refer to the example notebooks in [Amazon SageMaker Examples repository](https://github.com/awslabs/amazon-sagemaker-examples/tree/master/sagemaker-debugger)
4+
5+
## Example scripts
6+
The above notebooks come with example scripts which can be used through SageMaker. Some more example scripts are here in [scripts/](scripts/)
7+
8+
## Example configurations for saving tensors through [SageMaker Python SDK](https://github.com/aws/sagemaker-python-sdk)
9+
Example configurations for saving tensors through the hook are available at [docs/sagemaker.md](../docs/sagemaker.md)
10+
11+
## Example configurations for running rules through [SageMaker Python SDK](https://github.com/aws/sagemaker-python-sdk)
12+
Example configurations for saving tensors through the hook are available at [docs/sagemaker.md](../docs/sagemaker.md)
13+
14+
## Example for running rule locally
15+
16+
```
17+
from smdebug.rules import invoke_rule
18+
from smdebug.trials import create_trial
19+
trial = create_trial('s3://bucket/prefix')
20+
rule_obj = CustomRule(trial, param=value)
21+
invoke_rule(rule_obj, start_step=0, end_step=10)
22+
```

examples/mxnet/notebooks/mxnet-tensor-plot.ipynb

Lines changed: 0 additions & 310 deletions
This file was deleted.

0 commit comments

Comments
 (0)