We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug A clear and concise description of what the bug is.
Expected behavior A clear and concise description of what you expected to happen.
Environment Include all relevant environment information:
f7245c8
>>> import deepsparse.cpu >>> print(deepsparse.cpu.cpu_architecture())
To Reproduce Exact steps to reproduce the behavior:
Errors If applicable, add a full print-out of any errors or exceptions that are raised or include screenshots to help explain your problem.
Additional context Add any other context about the problem here. Also include any relevant files.
I want to deploy Yolov8 with DeepSparse Server. How can I properly make a request with images data?
the endpoint I want to use is 'infer'
The text was updated successfully, but these errors were encountered:
Hey @Alex-SSK here is a simple example of how to hit the yolo entrypoint with an image and get bounding boxes back.
import requests import json url = 'http://0.0.0.0:5543/v2/models/yolo/infer/from_files' path = ['lion.jpeg'] # list of images for inference files = [('request', open(img, 'rb')) for img in path] resp = requests.post(url=url, files=files) annotations = json.loads(resp.text) # dictionary of annotation results bounding_boxes = annotations["boxes"] labels = annotations["labels"] print(labels)
If you need a whole example for annotating an image with the boxes, I can share that later, just let me know!
Sorry, something went wrong.
No branches or pull requests
Describe the bug
A clear and concise description of what the bug is.
Expected behavior
A clear and concise description of what you expected to happen.
Environment
Include all relevant environment information:
f7245c8
]:To Reproduce
Exact steps to reproduce the behavior:
Errors
If applicable, add a full print-out of any errors or exceptions that are raised or include screenshots to help explain your problem.
Additional context
Add any other context about the problem here. Also include any relevant files.
I want to deploy Yolov8 with DeepSparse Server. How can I properly make a request with images data?
the endpoint I want to use is 'infer'
The text was updated successfully, but these errors were encountered: