Commit 450f0ea6 authored by dengjb's avatar dengjb
Browse files

Update README.md

parent a0bd315b
......@@ -86,9 +86,11 @@ COCO2017(在网络良好的情况下,如果没有下载数据集,程序会
bash ./train.sh
```
## 推理
# 可使用官方模型权重进行推理,也可使用自己训练模型权重进行推理
# 这里以官方模型推理举例![下载地址:rtmdet_s_8xb32-300e_coco_20220905_161602-387a891e.pth](https://download.openmmlab.com/mmdetection/v3.0/rtmdet/rtmdet_s_8xb32-300e_coco/rtmdet_s_8xb32-300e_coco_20220905_161602-387a891e.pth)
```python
# 官方推理代码
python demo/image_demo.py demo/demo.jpg ./configs/rtmdet/rtmdet_tiny_8xb32-300e_coco.py --weights rtmdet_tiny_8xb32-300e_coco_20220902_112414-78e30dcc.pth --device cuda
python demo/image_demo.py demo/demo.jpg ./configs/rtmdet/rtmdet_s_8xb32-300e_coco.py --weights rtmdet_s_8xb32-300e_coco_20220905_161602-387a891e.pth --device cuda
```
## result
![result](./resources/result.jpg)
......
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