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/cuda/bindings/_lib/windll.pxd from dl1wjd2/Logistics_AX: direct link, hf CLI and curl.
- Browser
- Download file 1.41 kB
-
https://huggingface.co/dl1wjd2/Logistics_AX/resolve/main/hug/lib/python3.12/site-packages/cuda/bindings/_lib/windll.pxd
- Command line
-
hf download hf://dl1wjd2/Logistics_AX/hug/lib/python3.12/site-packages/cuda/bindings/_lib/windll.pxd
-
curl -L -o windll.pxd https://huggingface.co/dl1wjd2/Logistics_AX/resolve/main/hug/lib/python3.12/site-packages/cuda/bindings/_lib/windll.pxd
1.41 kB
| # SPDX-FileCopyrightText: Copyright (c) 2021-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. | |
| # SPDX-License-Identifier: Apache-2.0 | |
| from libc.stddef cimport wchar_t | |
| from libc.stdint cimport uintptr_t | |
| from cpython cimport PyUnicode_AsWideCharString, PyMem_Free | |
| cdef extern from "windows.h" nogil: | |
| ctypedef void* HMODULE | |
| ctypedef void* HANDLE | |
| ctypedef void* FARPROC | |
| ctypedef unsigned long DWORD | |
| ctypedef const wchar_t *LPCWSTR | |
| ctypedef const char *LPCSTR | |
| ctypedef int BOOL | |
| const DWORD LOAD_LIBRARY_SEARCH_SYSTEM32 | |
| HMODULE _LoadLibraryExW "LoadLibraryExW"( | |
| LPCWSTR lpLibFileName, | |
| HANDLE hFile, | |
| DWORD dwFlags | |
| ) | |
| FARPROC _GetProcAddress "GetProcAddress"(HMODULE hModule, LPCSTR lpProcName) | |
| BOOL _FreeLibrary "FreeLibrary"(HMODULE hLibModule) | |
| cdef inline uintptr_t LoadLibraryExW(str path, HANDLE hFile, DWORD dwFlags): | |
| cdef uintptr_t result | |
| cdef wchar_t* wpath = PyUnicode_AsWideCharString(path, NULL) | |
| with nogil: | |
| result = <uintptr_t>_LoadLibraryExW( | |
| wpath, | |
| hFile, | |
| dwFlags | |
| ) | |
| PyMem_Free(wpath) | |
| return result | |
| cdef inline FARPROC GetProcAddress(uintptr_t hModule, const char* lpProcName) nogil: | |
| return _GetProcAddress(<HMODULE>hModule, lpProcName) | |
| cdef inline BOOL FreeLibrary(uintptr_t hLibModule) nogil: | |
| return _FreeLibrary(<HMODULE>hLibModule) | |