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

Function inference_detector

mmdet/apis/inference.py:93–156  ·  view source on GitHub ↗

Inference image(s) with the detector. Args: model (nn.Module): The loaded detector. imgs (str/ndarray or list[str/ndarray] or tuple[str/ndarray]): Either image files or loaded images. Returns: If imgs is a list or tuple, the same length list type results

(model, imgs)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

inferenceMethod · 0.90
mainFunction · 0.90
mainFunction · 0.90
test_inference_detectorFunction · 0.90

Calls 2

replace_ImageToTensorFunction · 0.90
ComposeClass · 0.90

Tested by 2

mainFunction · 0.72
test_inference_detectorFunction · 0.72