Download object_detection/pt/src/data/yolod/__init__.py from STMicroelectronics/stm32-modelzoo-app: direct link, hf CLI and curl.
- Browser
- Download file 835 Bytes
-
https://huggingface.co/spaces/STMicroelectronics/stm32-modelzoo-app/resolve/main/object_detection/pt/src/data/yolod/__init__.py
- Command line
-
hf download hf://spaces/STMicroelectronics/stm32-modelzoo-app/object_detection/pt/src/data/yolod/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/STMicroelectronics/stm32-modelzoo-app/resolve/main/object_detection/pt/src/data/yolod/__init__.py
835 Bytes
| # /*--------------------------------------------------------------------------------------------- | |
| # * Copyright (c) 2025 STMicroelectronics. | |
| # * All rights reserved. | |
| # * | |
| # * This software is licensed under terms that can be found in the LICENSE file in | |
| # * the root directory of this software component. | |
| # * If no LICENSE file comes with this software, it is provided AS-IS. | |
| # *--------------------------------------------------------------------------------------------*/ | |
| #!/usr/bin/env python3 | |
| # -*- coding:utf-8 -*- | |
| # Copyright (c) Megvii, Inc. and its affiliates. | |
| from .augmentations.data_augment import TrainTransform, ValTransform | |
| from .data_prefetcher import DataPrefetcher | |
| from .dataloading import DataLoader,worker_init_reset_seed | |
| from .datasets import * | |
| from .samplers import InfiniteSampler, YoloBatchSampler | |