Instructions to use ultralyticsplus/yolov8s with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- ultralytics
How to use ultralyticsplus/yolov8s with ultralytics:
from ultralytics import YOLOvv8 model = YOLOvv8.from_pretrained("ultralyticsplus/yolov8s") source = 'http://images.cocodataset.org/val2017/000000039769.jpg' model.predict(source=source, save=True) - Notebooks
- Google Colab
- Kaggle
REST API end point
#6
by bo0olet - opened
Sorry for the silly question, I am a noob with this. Could somebody please tell me how to verify if this model exposes a REST API ?
Thanks
Not a silly question at all — we all start somewhere! If you’re using the Ultralytics YOLOv8 repo, it doesn’t expose a REST API by default, but you can wrap the model in something like FastAPI or Flask to serve it as one. Let me know if you need a simple example!