MCPcopy Create free account
hub / github.com/D-Robotics/rdk_model_zoo / predict

Method predict

samples/vision/fastvit/runtime/python/fastvit.py:180–212  ·  view source on GitHub ↗

Run the complete FastViT inference pipeline on one image. Args: image: Input image in BGR format. resize_type: Optional override for preprocessing resize strategy. topk: Optional override for Top-K result count. Returns: The

(
        self,
        image: np.ndarray,
        resize_type: Optional[int] = None,
        topk: Optional[int] = None,
    )

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

__call__Method · 0.95
mainFunction · 0.95

Calls 3

pre_processMethod · 0.95
forwardMethod · 0.95
post_processMethod · 0.95

Tested by

no test coverage detected