CoolFace
Modelpublic

alexwww94/yolov8

sourceHugging Faceupdated 3y agoView on Hugging Face
0likes7downloads
Model Card

This is a Hugging Face Hub model repository created for ultraytics; you still need to install ultraytics(https://github.com/ultralytics/ultralytics)

bash
pip install ultraytics

Usage:

python
from transformers import AutoModelForObjectDetection
model = AutoModelForObjectDetection.from_pretrained('alexwww94/yolov8', trust_remote_code=True, yolo_model_config={"model": 'yolov8n'})
model('example.jpg')

Parameters for creating the yolov8 model are defined in yolomodelconfig. Inference parameters for yolov8 can also be defined using args and kwargs:

python
model(*args, **kwargs)