For example,
python -m smdebug.rules.rule_invoker --trial-dir ~/ts_outputs/vanishing_gradients --rule-name VanishingGradient --threshold 0.0000000001
This fails because there's no main function, and it leads to a double-import where smdebug.rules has an init.py which imports invoke_rule.