MCPcopy Index your code
hub / github.com/IDEA-Research/T-Rex / embedding_inference

Method embedding_inference

trex/model_wrapper.py:220–241  ·  view source on GitHub ↗

Prompt inference workflow. Args: target_image (Union[str, Image.Image]): The image to upload. Can be a file path or PIL.Image base64_embedding (str): The base64 encoding of the embedding. Returns: Dict: Return dict in format: {

(
        self, target_image: Union[str, Image.Image], base64_embedding: str
    )

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

Calls 3

call_apiMethod · 0.95
postprocessMethod · 0.95

Tested by

no test coverage detected