Instructions to use pillowl/learn with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- ultralytics
How to use pillowl/learn 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("pillowl/learn", "<weights>.pt") model = YOLO(weights) source = 'http://images.cocodataset.org/val2017/000000039769.jpg' model.predict(source=source, save=True) - Notebooks
- Google Colab
- Kaggle
|
Download README.md from pillowl/learn: direct link, hf CLI and curl.
- Browser
- Download file 858 Bytes
-
https://huggingface.co/pillowl/learn/resolve/main/README.md
- Command line
-
hf download hf://pillowl/learn/README.md
-
curl -L -H "Authorization: Bearer $HF_TOKEN" -o README.md https://huggingface.co/pillowl/learn/resolve/main/README.md
858 Bytes
| library_name: ultralytics | |
| pipeline_tag: object-detection | |
| tags: | |
| - ultralytics | |
| - yolov11 | |
| widget: | |
| - src: https://huggingface.co/pillowl/learn/resolve/main/001481.jpg | |
| example_title: YOLOv11 Object Detection | |
| base_model: | |
| - Ultralytics/YOLO11 | |
| # 我的第一个学习模型 (YOLOv11) | |
| 这是一个使用 YOLOv11 训练的物体检测模型。 | |
| ## 模型描述 | |
| (在这里写下你的模型是用来检测什么的) | |
| ## 如何使用 (Python - Ultralytics) | |
| ```python | |
| from ultralytics import YOLO | |
| # 加载你托管在Hugging Face上的模型 | |
| # 注意:这里的模型ID应为 "YourUsername/YourRepoName" | |
| model = YOLO("pillowl/learn") | |
| # 定义一个图片源 | |
| source = '[https://huggingface.co/pillowl/learn/resolve/main/001481.jpg](https://huggingface.co/pillowl/learn/resolve/main/001481.jpg)' | |
| # 进行推理预测 | |
| results = model.predict(source=source) |