|
Download README.md from loreleva/yolov8: direct link, hf CLI and curl.
- Browser
- Download file 401 Bytes
-
https://huggingface.co/loreleva/yolov8/resolve/main/README.md
- Command line
-
hf download hf://loreleva/yolov8/README.md
-
curl -L -o README.md https://huggingface.co/loreleva/yolov8/resolve/main/README.md
401 Bytes
| # Download the models | |
| Use the package ```huggingface_hub``` to download the model using Python. | |
| - Install it with | |
| ``` | |
| pip install huggingface_hub | |
| ``` | |
| - Download the weights (e.g., yolov8n-fp32-imgsz640.engine) with: | |
| ``` | |
| from huggingface_hub import hf_hub_download | |
| hf_hub_download(repo_id="loreleva/yolov8", | |
| filename="yolov8n-seg/tensorrt/yolov8n-fp32-imgsz640.engine", | |
| local_dir="/path/to/dir") | |
| ``` |