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

Function async_inference_detector

mmdet/apis/inference.py:159–213  ·  view source on GitHub ↗

Async inference image(s) with the detector. Args: model (nn.Module): The loaded detector. img (str | ndarray): Either image files or loaded images. Returns: Awaitable detection results.

(model, imgs)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

apredictMethod · 0.90
mainFunction · 0.90
detectFunction · 0.90

Calls 3

replace_ImageToTensorFunction · 0.90
ComposeClass · 0.90
aforward_testMethod · 0.80

Tested by 1

apredictMethod · 0.72