Skip to content

Instantly share code, notes, and snippets.

@shashankprasanna
Created April 2, 2020 21:16
Show Gist options
  • Save shashankprasanna/ef124b57e92b00dc776919168c4d4fd9 to your computer and use it in GitHub Desktop.
Save shashankprasanna/ef124b57e92b00dc776919168c4d4fd9 to your computer and use it in GitHub Desktop.
debug_rules = [
Rule.sagemaker(rule_configs.overtraining()),
Rule.sagemaker(rule_configs.overfit()),
Rule.custom(name='MyCustomRule',
image_uri='840043622174.dkr.ecr.us-east-2.amazonaws.com/sagemaker-debugger-rule-evaluator:latest',
instance_type='ml.t3.medium',
source='rules/my_custom_rule.py',
rule_to_invoke='CustomGradientRule',
volume_size_in_gb=30,
rule_parameters={"threshold": "20.0"})
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment