Skip to content

Commit

Permalink
update HRNet/README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
xuewen committed Nov 19, 2020
1 parent 1ae48a4 commit 81c689d
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion HRNet/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ clone from https://github.com/leoxiaobin/deep-high-resolution-net.pytorch

## Demo

```
```shell
python tools/human_keypoint_inference.py
```

Expand Down Expand Up @@ -58,3 +58,21 @@ python tools/human_keypoint_inference.py



## ONNX Model Inference

1. pth模型转onnx:

```python
python tools/pytorch_model2onnx.py --cfg experiments/coco/hrnet/w32_256x192_adam_lr1e-3.yaml \
--pth models/pytorch/pose_coco/pose_hrnet_w32_256x192.pth
```



2. 根据上一步得到的*.onnx模型进行推理:

```
python tools/human_keypoint_inference_onnx.py
```


0 comments on commit 81c689d

Please sign in to comment.