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/annotations.py from dl1wjd2/Logistics_AX: direct link, hf CLI and curl.
- Browser
- Download file 1.23 kB
-
https://huggingface.co/dl1wjd2/Logistics_AX/resolve/main/hug/lib/python3.12/site-packages/fontTools/annotations.py
- Command line
-
hf download hf://dl1wjd2/Logistics_AX/hug/lib/python3.12/site-packages/fontTools/annotations.py
-
curl -L -o annotations.py https://huggingface.co/dl1wjd2/Logistics_AX/resolve/main/hug/lib/python3.12/site-packages/fontTools/annotations.py
1.23 kB
| from __future__ import annotations | |
| from typing import TYPE_CHECKING, Iterable, Optional, TypeVar, Union | |
| from collections.abc import Callable, Sequence | |
| from fontTools.misc.filesystem._base import FS | |
| from os import PathLike | |
| from xml.etree.ElementTree import Element as ElementTreeElement | |
| if TYPE_CHECKING: | |
| from fontTools.ufoLib import UFOFormatVersion | |
| from fontTools.ufoLib.glifLib import GLIFFormatVersion | |
| from lxml.etree import _Element as LxmlElement | |
| T = TypeVar("T") # Generic type | |
| K = TypeVar("K") # Generic dict key type | |
| V = TypeVar("V") # Generic dict value type | |
| GlyphNameToFileNameFunc = Optional[Callable[[str, set[str]], str]] | |
| ElementType = Union[ElementTreeElement, "LxmlElement"] | |
| FormatVersion = Union[int, tuple[int, int]] | |
| FormatVersions = Optional[Iterable[FormatVersion]] | |
| GLIFFormatVersionInput = Optional[Union[int, tuple[int, int], "GLIFFormatVersion"]] | |
| UFOFormatVersionInput = Optional[Union[int, tuple[int, int], "UFOFormatVersion"]] | |
| IntFloat = Union[int, float] | |
| KerningPair = tuple[str, str] | |
| KerningDict = dict[KerningPair, IntFloat] | |
| KerningGroups = dict[str, Sequence[str]] | |
| KerningNested = dict[str, dict[str, IntFloat]] | |
| PathStr = Union[str, PathLike[str]] | |
| PathOrFS = Union[PathStr, FS] | |