Skip to content

Instantly share code, notes, and snippets.

@zer0n
Last active May 8, 2018 22:43
Show Gist options
  • Save zer0n/d11cc130c5a35fabd6e1be961ead8576 to your computer and use it in GitHub Desktop.
Save zer0n/d11cc130c5a35fabd6e1be961ead8576 to your computer and use it in GitHub Desktop.
Example personal main file
from train import _get_parser as get_trainer_parser, train
# Get default arguments. Then you can change the default values for a few arguments
args = get_trainer_parser().parse_args([])
args.verbose = True
train(args)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment