File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -84,6 +84,20 @@ A folder of suitable test images can be downloaded by first running the `get_tes
84
84
A minimal performance benchmark based on image_demo. Images in ` --image_dir ` are pre-loaded and inference is
85
85
run ` --num_images ` times with no drawing and no text output.
86
86
87
+ Running the benchmark cycling 1000 times through the example images on a Geforce GTX 1080ti gives these average FPS
88
+ using TF 2.0.0:
89
+
90
+ ```
91
+ ResNet50 stride 16: 32.41 FPS
92
+ ResNet50 stride 32: 38.70 FPS (strange this is faster than with stride 16)
93
+ MobileNet stride 8: 37.90 FPS (surprisingly slow for mobilenet, ran this several times, same result)
94
+ MobileNet stride 16: 58.64 FPS
95
+ ```
96
+
97
+ I can't explain why the larger stride gives a faster result. It was expected that MobileNet would be faster than
98
+ ResNet50, but the MobileNet quality is visibly lower on the rendered images (running image_demo.py).
99
+
100
+
87
101
#### webcam_demo.py
88
102
89
103
The webcam demo uses OpenCV to capture images from a connected webcam. The result is overlayed with the keypoints and
You can’t perform that action at this time.
0 commit comments