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

Function replace_ImageToTensor

mmdet/datasets/utils.py:15–72  ·  view source on GitHub ↗

Replace the ImageToTensor transform in a data pipeline to DefaultFormatBundle, which is normally useful in batch inference. Args: pipelines (list[dict]): Data pipeline configs. Returns: list: The new pipeline list with all ImageToTensor replaced by DefaultFo

(pipelines)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 7

mainFunction · 0.90
measure_inference_speedFunction · 0.90
mainFunction · 0.90
train_detectorFunction · 0.90
inference_detectorFunction · 0.90
async_inference_detectorFunction · 0.90

Calls

no outgoing calls

Tested by 3

mainFunction · 0.72
mainFunction · 0.72