Instructions to use Anzhc/Anzhcs_YOLOs with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- ultralytics
How to use Anzhc/Anzhcs_YOLOs with ultralytics:
from huggingface_hub import hf_hub_download from ultralytics import YOLO # pick the weights file from this repo's "Files and versions" tab weights = hf_hub_download("Anzhc/Anzhcs_YOLOs", "<weights>.pt") model = YOLO(weights) source = 'http://images.cocodataset.org/val2017/000000039769.jpg' model.predict(source=source, save=True) - Notebooks
- Google Colab
- Kaggle
Was wondering about the unsafe warning.
#2
pinned
by Faor-Mati - opened
HuggingFace has labelled some of the models as unsafe, are there any issues with them and are there any plans to fix them.
It's normal. They are from older ultralytics version that was using some of those unsafe imports.
They appear only on quite old models, so just don't use them if you feel uncomfortable.
no problem, thank you
Anzhc pinned discussion
