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/help.py from dl1wjd2/Logistics_AX: direct link, hf CLI and curl.
- Browser
- Download file 1.13 kB
-
https://huggingface.co/dl1wjd2/Logistics_AX/resolve/main/hug/lib/python3.12/site-packages/fontTools/help.py
- Command line
-
hf download hf://dl1wjd2/Logistics_AX/hug/lib/python3.12/site-packages/fontTools/help.py
-
curl -L -o help.py https://huggingface.co/dl1wjd2/Logistics_AX/resolve/main/hug/lib/python3.12/site-packages/fontTools/help.py
1.13 kB
| import pkgutil | |
| import sys | |
| import fontTools | |
| import importlib | |
| import os | |
| from pathlib import Path | |
| def main(): | |
| """Show this help""" | |
| path = fontTools.__path__ | |
| descriptions = {} | |
| for pkg in sorted( | |
| mod.name | |
| for mod in pkgutil.walk_packages([fontTools.__path__[0]], prefix="fontTools.") | |
| ): | |
| try: | |
| imports = __import__(pkg, globals(), locals(), ["main"]) | |
| except ImportError as e: | |
| continue | |
| try: | |
| description = imports.main.__doc__ | |
| # Cython modules seem to return "main()" as the docstring | |
| if description and description != "main()": | |
| pkg = pkg.replace("fontTools.", "").replace(".__main__", "") | |
| # show the docstring's first line only | |
| descriptions[pkg] = description.splitlines()[0] | |
| except AttributeError as e: | |
| pass | |
| for pkg, description in descriptions.items(): | |
| print("fonttools %-25s %s" % (pkg, description), file=sys.stderr) | |
| if __name__ == "__main__": | |
| print("fonttools v%s\n" % fontTools.__version__, file=sys.stderr) | |
| main() | |