From 75733cb5caf86ecb34742f7fbb2f94e021006ce9 Mon Sep 17 00:00:00 2001 From: Semyon Sergiev Date: Tue, 6 Apr 2021 16:25:10 +0300 Subject: [PATCH] proper demo command --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f14a7563..799d35ed 100644 --- a/README.md +++ b/README.md @@ -62,7 +62,7 @@ Our project is developed on [detectron2](https://github.com/facebookresearch/det We use the default detectron2 demo script. To run inference on an image folder using our pre-trained model, run ~~~ -python projects/CenterNet2/demo/demo.py --config-file projects/CenterNet2/configs/CenterNet2_R50_1x.yaml --input path/to/image/ --opts MODEL.WEIGHTS models/CenterNet2_R50_1x.pth +python projects/CenterNet2/demo.py --config-file projects/CenterNet2/configs/CenterNet2_R50_1x.yaml --input path/to/image_dir/ --opts MODEL.WEIGHTS models/CenterNet2_R50_1x.pth ~~~ ## Benchmark evaluation and training