Dino v3
Run DINOv3 classification models trained on Roboflow via the Serverless Hosted API
Code sample
pip install inference-sdkimport os
import urllib.request
from inference_sdk import InferenceHTTPClient
image_url = "https://media.roboflow.com/notebooks/examples/dog.jpeg"
image_path = "dog.jpeg"
urllib.request.urlretrieve(image_url, image_path)
client = InferenceHTTPClient(
api_url="https://serverless.roboflow.com",
api_key=os.getenv("API_KEY"),
)
results = client.infer(image_path, model_id="your-project/1")
print(results)Last updated
Was this helpful?