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
File size: 1,350 Bytes
bbae060 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 | # -*- coding: utf-8 -*-
import sys
from . import _tzpath
from ._tzpath import reset_tzpath
from .tz import *
from .tz import __doc__
__all__ = [
"tzutc",
"tzoffset",
"tzlocal",
"tzfile",
"tzrange",
"tzstr",
"tzical",
"tzwin",
"tzwinlocal",
"gettz",
"enfold",
"datetime_ambiguous",
"datetime_exists",
"resolve_imaginary",
"available_iana_timezones",
"UTC",
"TZPATH",
"reset_tzpath",
"DeprecatedTzFormatWarning",
"DeprecatedTzKeyWarning",
]
if sys.version_info < (3, 7):
# Module-level __getattr__ was added in Python 3.7, so instead of lazily
# populating TZPATH on every access, we will register a callback with
# reset_tzpath to update the top-level tuple.
TZPATH = _tzpath.TZPATH
def _tzpath_callback(new_tzpath):
global TZPATH
TZPATH = new_tzpath
_tzpath.TZPATH_CALLBACKS.append(_tzpath_callback)
else:
def __getattr__(name):
if name == "TZPATH":
return _tzpath.TZPATH
else:
raise AttributeError(
"Module %s has no attribute %s" % (repr(__name__), repr(name))
)
def __dir__():
return sorted(list(globals()) + ["TZPATH"])
class DeprecatedTzFormatWarning(Warning):
"""Warning raised when time zones are parsed from deprecated formats."""
|