Skip to content

Commit

Permalink
How to run the code
Browse files Browse the repository at this point in the history
  • Loading branch information
juppiiiii committed Feb 21, 2021
1 parent ccc5be7 commit c1c8428
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,18 @@
# inference-using-detectron2
# inference-using-detectron2

#### Start !
```shell
python inference.py --mode directory --dir {dir_name} --save {save_dir_name} \
--model COCO-Detection/faster_rcnn_R_101_FPN_3x.yaml
```



#### Single image inference
```shell
python inference.py --mode single-img --single-imge ./test.png --save {save_dir_name} \
--model COCO-Detection/faster_rcnn_R_101_FPN_3x.yaml
```

###### reference
https://github.com/facebookresearch/detectron2

0 comments on commit c1c8428

Please sign in to comment.