Skip to content

yolo_world

YOLOWorldInferenceRequest

Bases: DynamicClassBaseInferenceRequest

Request for Grounding DINO zero-shot predictions.

Attributes:

Name Type Description
text List[str]

A list of strings.

Source code in inference/core/entities/requests/yolo_world.py
 9
10
11
12
13
14
15
16
17
class YOLOWorldInferenceRequest(DynamicClassBaseInferenceRequest):
    """Request for Grounding DINO zero-shot predictions.

    Attributes:
        text (List[str]): A list of strings.
    """

    yolo_world_version_id: Optional[str] = "l"
    confidence: Optional[float] = DEFAULT_CONFIDENCE