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/fontTools/ufoLib/errors.py from dl1wjd2/Logistics_AX: direct link, hf CLI and curl.
- Browser
- Download file 843 Bytes
-
https://huggingface.co/dl1wjd2/Logistics_AX/resolve/main/hug/lib/python3.12/site-packages/fontTools/ufoLib/errors.py
- Command line
-
hf download hf://dl1wjd2/Logistics_AX/hug/lib/python3.12/site-packages/fontTools/ufoLib/errors.py
-
curl -L -o errors.py https://huggingface.co/dl1wjd2/Logistics_AX/resolve/main/hug/lib/python3.12/site-packages/fontTools/ufoLib/errors.py
843 Bytes
| from __future__ import annotations | |
| class UFOLibError(Exception): | |
| pass | |
| class UnsupportedUFOFormat(UFOLibError): | |
| pass | |
| class GlifLibError(UFOLibError): | |
| """An error raised by glifLib. | |
| This class is a loose backport of PEP 678, adding a :attr:`.note` | |
| attribute that can hold additional context for errors encountered. | |
| It will be maintained until only Python 3.11-and-later are supported. | |
| """ | |
| def _add_note(self, note: str) -> None: | |
| # Loose backport of PEP 678 until we only support Python 3.11+, used for | |
| # adding additional context to errors. | |
| # TODO: Replace with https://docs.python.org/3.11/library/exceptions.html#BaseException.add_note | |
| message, *rest = self.args | |
| self.args = ((message + "\n" + note), *rest) | |
| class UnsupportedGLIFFormat(GlifLibError): | |
| pass | |