File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ version and converted on the fly.
77
77
Image demo runs inference on an input folder of images and outputs those images with the keypoints and skeleton
78
78
overlayed.
79
79
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 `
81
81
82
82
A folder of suitable test images can be downloaded by first running the ` get_test_images.py ` script.
83
83
@@ -91,14 +91,14 @@ using TF 2.0.0:
91
91
92
92
```
93
93
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)
96
96
MobileNet stride 16: 58.64 FPS
97
97
```
98
98
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!
102
102
103
103
#### webcam_demo.py
104
104
You can’t perform that action at this time.
0 commit comments