diff options
| author | Jun-Yan Zhu <junyanz@users.noreply.github.com> | 2017-11-02 15:29:48 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-11-02 15:29:48 -0700 |
| commit | 822896085f183859c41fd8f5fc6e9dbbfb4c706c (patch) | |
| tree | 51e9ee7a0a0549dc7bc325fa2deefd711b777d45 /options/base_options.py | |
| parent | d8cb73153cc460f9602b802dade2cff5946d0ac7 (diff) | |
| parent | 9854d6a5e40fe2c9dd1b70302f41624b63b3c545 (diff) | |
Merge pull request #132 from javiribera/master
show default parameter values when invoking with -h
Diffstat (limited to 'options/base_options.py')
| -rw-r--r-- | options/base_options.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/options/base_options.py b/options/base_options.py index e89f144..b2d5360 100644 --- a/options/base_options.py +++ b/options/base_options.py @@ -5,7 +5,7 @@ import torch class BaseOptions(): def __init__(self): - self.parser = argparse.ArgumentParser() + self.parser = argparse.ArgumentParser(formatter_class=argparse.ArgumentDefaultsHelpFormatter) self.initialized = False def initialize(self): |
