MCPcopy Create free account
hub / github.com/VincentHancoder/SSGD / main

Function main

tests/test_runtime/async_benchmark.py:16–98  ·  view source on GitHub ↗

Benchmark between async and synchronous inference interfaces. Sample runs for 20 demo images on K80 GPU, model - mask_rcnn_r50_fpn_1x: async sync 7981.79 ms 9660.82 ms 8074.52 ms 9660.94 ms 7976.44 ms 9406.83 ms Async variant takes about 0.83-0.85 of the time of

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

async_benchmark.pyFile · 0.70

Calls 6

init_detectorFunction · 0.90
async_inference_detectorFunction · 0.90
profile_timeFunction · 0.90
inference_detectorFunction · 0.90
detectFunction · 0.85
show_resultMethod · 0.45

Tested by

no test coverage detected