For the complete documentation index, see llms.txt. This page is also available as Markdown.

YOLO-World

हमारे Serverless Hosted API के माध्यम से YOLO-World open-vocabulary object detection का उपयोग करें

YOLO-World एक open-vocabulary object detection model है जो training के बिना arbitrary text class names से objects detect करता है। हम YOLO-World inferencing का समर्थन अपने Serverless Hosted API.

YOLO-World चलाने के बारे में अधिक विवरण के लिए, देखें Inference docs.

कोड नमूना

YOLO-World को HTTP endpoint के माध्यम से सीधे इस का उपयोग करके चलाएँ curl, या inference-sdk रैपर के साथ।

1

अपनी API Key प्राप्त करें

एक Roboflow खाता बनाएं, अपनी key यहाँ पर ढूँढें Roboflow API settings page और इसे अपने shell में उपलब्ध कराएँ:

export ROBOFLOW_API_KEY="your-key-here"
2

मॉडल चलाएँ

को कॉल करें /yolo_world/infer एंडपॉइंट को curl:

curl --location 'https://serverless.roboflow.com/yolo_world/infer' \
  --header 'Content-Type: application/json' \
  --data '{
    \"api_key\": \"'\"$ROBOFLOW_API_KEY\"'\",
    "image": {"type": "url", "value": "https://media.roboflow.com/quickstart/traffic.jpg"},
    "text": ["car", "truck"],
    "yolo_world_version_id": "v2-s",
    "confidence": 0.05
  }'

यह class_names argument किसी भी class names की सूची स्वीकार करता है। उपलब्ध model_version मान: v2-s, v2-m, v2-l, v2-x, s, m, l, x.

Inference speed

Latency मापी गई Roboflow Inference 1x NVIDIA L4 पर, batch size 1, warmup के बाद का औसत।

मॉडल
विलंबता (ms)

yolo-world

12.4

पर मापा गया v2-s दो classes वाला variant। class list सेट करने पर text encoder एक बार चलता है, और इसे इस figure से बाहर रखा गया है क्योंकि यह हर frame पर दोहराया नहीं जाता।

सेट करें api_url को अपने deployment target से मिलाएँ:

  • https://serverless.roboflow.com Serverless Hosted API के लिए।

  • http://localhost:9001 एक local Inference server.

  • आपका Dedicated Deployment एक private endpoint के लिए URL.

अंतिम अपडेट

क्या यह उपयोगी था?