Update README.md

This commit is contained in:
Teoge 2020-12-12 13:44:13 +08:00
parent 66844664b3
commit 88b77e3c3c
1 changed files with 2 additions and 2 deletions

View File

@ -18,13 +18,13 @@ The [pre-trained weights](https://drive.google.com/open?id=1OuyF8bGttA11-CKJ4Mj3
* Image inference
```(shell)
python inference.py --mode image --detector_weights $DETECTOR_WEIGHTS
python inference.py --mode image --detector_weights $DETECTOR_WEIGHTS --inference_slot
```
* Video inference
```(shell)
python inference.py --mode video --detector_weights $DETECTOR_WEIGHTS --video $VIDEO
python inference.py --mode video --detector_weights $DETECTOR_WEIGHTS --video $VIDEO --inference_slot
```
Argument `DETECTOR_WEIGHTS` is the trained weights of detector.