Skip to content

Commit 2d7dc74

Browse files
committed
Updated README.
1 parent d334462 commit 2d7dc74

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ version and converted on the fly.
7777
Image demo runs inference on an input folder of images and outputs those images with the keypoints and skeleton
7878
overlayed.
7979

80-
`python image_demo.py --model resnet50 --stride 32 --image_dir ./images --output_dir ./output`
80+
`python image_demo.py --model resnet50 --stride 16 --image_dir ./images --output_dir ./output`
8181

8282
A folder of suitable test images can be downloaded by first running the `get_test_images.py` script.
8383

@@ -91,14 +91,14 @@ using TF 2.0.0:
9191

9292
```
9393
ResNet50 stride 16: 32.41 FPS
94-
ResNet50 stride 32: 38.70 FPS (strange this is faster than with stride 16)
95-
MobileNet stride 8: 37.90 FPS (surprisingly slow for mobilenet, ran this several times, same result)
94+
ResNet50 stride 32: 38.70 FPS
95+
MobileNet stride 8: 37.90 FPS (this is surprisingly slow for mobilenet, ran this several times, same result)
9696
MobileNet stride 16: 58.64 FPS
9797
```
9898

99-
I can't explain why the larger stride gives a faster result. It was expected that MobileNet would be faster than
100-
ResNet50, but the MobileNet quality is visibly lower on the rendered images (running image_demo.py).
101-
99+
Faster FPS have been reported by Ross Wightmann on the original codebase in
100+
[rwightman/posenet-python](https://github.com/rwightman/posenet-python), so if anyone has a pull request that
101+
improves the performance of this codebase, feel free to let me know!
102102

103103
#### webcam_demo.py
104104

0 commit comments

Comments
 (0)