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/__main__.py from dl1wjd2/Logistics_AX: direct link, hf CLI and curl.
- Browser
- Download file 925 Bytes
-
https://huggingface.co/dl1wjd2/Logistics_AX/resolve/main/hug/lib/python3.12/site-packages/fontTools/__main__.py
- Command line
-
hf download hf://dl1wjd2/Logistics_AX/hug/lib/python3.12/site-packages/fontTools/__main__.py
-
curl -L -o __main__.py https://huggingface.co/dl1wjd2/Logistics_AX/resolve/main/hug/lib/python3.12/site-packages/fontTools/__main__.py
925 Bytes
| import sys | |
| def main(args=None): | |
| if args is None: | |
| args = sys.argv[1:] | |
| # TODO Handle library-wide options. Eg.: | |
| # --unicodedata | |
| # --verbose / other logging stuff | |
| # TODO Allow a way to run arbitrary modules? Useful for setting | |
| # library-wide options and calling another library. Eg.: | |
| # | |
| # $ fonttools --unicodedata=... fontmake ... | |
| # | |
| # This allows for a git-like command where thirdparty commands | |
| # can be added. Should we just try importing the fonttools | |
| # module first and try without if it fails? | |
| if len(sys.argv) < 2: | |
| sys.argv.append("help") | |
| if sys.argv[1] == "-h" or sys.argv[1] == "--help": | |
| sys.argv[1] = "help" | |
| mod = "fontTools." + sys.argv[1] | |
| sys.argv[1] = sys.argv[0] + " " + sys.argv[1] | |
| del sys.argv[0] | |
| import runpy | |
| runpy.run_module(mod, run_name="__main__") | |
| if __name__ == "__main__": | |
| sys.exit(main()) | |