• Y
    Tweak command line scripts (#2517) · 4f457075
    Yang Zhang 提交于
    * Tweak command line scripts
    
    enable fine grained control of command flags parsing
    switch to attribute style of accessing config options
    
    * Break down visualization function
    
    decouple it from IO operations
    
    * Move flag parsing out of `main()`
    
    * Fix a bug where `None` is returned instead of `{}`
    
    * Rename `save_xxx` to `output_xxx` in command line flags
    
    could be confusing since checkpoint is stored in `save_dir`
    
    * Support image file extensions in upper case
    4f457075
infer.py 6.0 KB