robustness.main module

The main file, which exposes the robustness command-line tool, detailed in this walkthrough.

robustness.main.main(args, store=None)

Given arguments from setup_args and a store from setup_store, trains as a model. Check out the argparse object in this file for argument options.

robustness.main.setup_args(args)

Fill the args object with reasonable defaults from robustness.defaults, and also perform a sanity check to make sure no args are missing.

robustness.main.setup_store_with_metadata(args)

Sets up a store for training according to the arguments object. See the argparse object above for options.