Skip to content

Commit 3ee248b

Browse files
committed
Adding some benchmark results.
1 parent 0ed68da commit 3ee248b

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,20 @@ A folder of suitable test images can be downloaded by first running the `get_tes
8484
A minimal performance benchmark based on image_demo. Images in `--image_dir` are pre-loaded and inference is
8585
run `--num_images` times with no drawing and no text output.
8686

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+
87101
#### webcam_demo.py
88102

89103
The webcam demo uses OpenCV to capture images from a connected webcam. The result is overlayed with the keypoints and

0 commit comments

Comments
 (0)