Instructions to use dl1wjd2/Logistics_AX with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- ultralytics
How to use dl1wjd2/Logistics_AX 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("dl1wjd2/Logistics_AX", "<weights>.pt") model = YOLO(weights) source = 'http://images.cocodataset.org/val2017/000000039769.jpg' model.predict(source=source, save=True) - Notebooks
- Google Colab
- Kaggle
Download hug/lib/python3.12/site-packages/fsspec/tests/abstract/open.py from dl1wjd2/Logistics_AX: direct link, hf CLI and curl.
- Browser
- Download file 329 Bytes
-
https://huggingface.co/dl1wjd2/Logistics_AX/resolve/main/hug/lib/python3.12/site-packages/fsspec/tests/abstract/open.py
- Command line
-
hf download hf://dl1wjd2/Logistics_AX/hug/lib/python3.12/site-packages/fsspec/tests/abstract/open.py
-
curl -L -o open.py https://huggingface.co/dl1wjd2/Logistics_AX/resolve/main/hug/lib/python3.12/site-packages/fsspec/tests/abstract/open.py
329 Bytes
| import pytest | |
| class AbstractOpenTests: | |
| def test_open_exclusive(self, fs, fs_target): | |
| with fs.open(fs_target, "wb") as f: | |
| f.write(b"data") | |
| with fs.open(fs_target, "rb") as f: | |
| assert f.read() == b"data" | |
| with pytest.raises(FileExistsError): | |
| fs.open(fs_target, "xb") | |