Python: Difference between revisions
Line 494: | Line 494: | ||
This is a very useful library for loading images. | This is a very useful library for loading images. | ||
You can also load images using matplotlib, OpenCV, or Tensorflow. | You can also load images using matplotlib, OpenCV, or Tensorflow. | ||
===configargparse=== | |||
[https://pypi.org/project/ConfigArgParse/ ConfigArgParse] is the same as argparse except it allows you to use config files as args. | |||
<pre> | |||
parser = configargparse.ArgParser() | |||
parser.add('-c', '--config', is_config_file=True, help='config file path') | |||
#... | |||
</pre> |