Commit 776196bf authored by Will Kuhn's avatar Will Kuhn Committed by Facebook Github Bot

clarifications in documentation

Summary: Closes https://github.com/facebookresearch/Detectron/pull/511

Reviewed By: ir413

Differential Revision: D8704693

Pulled By: rbgirshick

fbshipit-source-id: c05064ab69c795f8b3263fc0b35ddb666019cd5f
parent dc76799a
...@@ -56,9 +56,10 @@ c2_utils.import_detectron_ops() ...@@ -56,9 +56,10 @@ c2_utils.import_detectron_ops()
cv2.ocl.setUseOpenCL(False) cv2.ocl.setUseOpenCL(False)
# infer.py # infer.py
# --im [path/to/image.jpg] # --im [path/to/image.jpg] \
# --rpn-model [path/to/rpn/model.pkl] # --rpn-model [path/to/rpn/model.pkl] \
# --rpn-config [path/to/rpn/config.yaml] # --rpn-cfg [path/to/rpn/config.yaml] \
# --output-dir [path/to/output/dir] \
# [model1] [config1] [model2] [config2] ... # [model1] [config1] [model2] [config2] ...
...@@ -90,7 +91,7 @@ def parse_args(): ...@@ -90,7 +91,7 @@ def parse_args():
) )
parser.add_argument( parser.add_argument(
'models_to_run', 'models_to_run',
help='list of pkl, yaml pairs', help='pairs of models & configs, listed like so: [pkl1] [yaml1] [pkl2] [yaml2] ...',
default=None, default=None,
nargs=argparse.REMAINDER nargs=argparse.REMAINDER
) )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment