Spaces:
Runtime error
Runtime error
Download mmpl/structures/__init__.py from KyanChen/RSPrompter: direct link, hf CLI and curl.
- Browser
- Download file 407 Bytes
-
https://huggingface.co/spaces/KyanChen/RSPrompter/resolve/main/mmpl/structures/__init__.py
- Command line
-
hf download hf://spaces/KyanChen/RSPrompter/mmpl/structures/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/KyanChen/RSPrompter/resolve/main/mmpl/structures/__init__.py
407 Bytes
| # Copyright (c) OpenMMLab. All rights reserved. | |
| from .cls_data_sample import ClsDataSample | |
| from .multi_task_data_sample import MultiTaskDataSample | |
| from .utils import (batch_label_to_onehot, cat_batch_labels, | |
| stack_batch_scores, tensor_split) | |
| __all__ = [ | |
| 'ClsDataSample', 'batch_label_to_onehot', 'cat_batch_labels', | |
| 'stack_batch_scores', 'tensor_split', 'MultiTaskDataSample' | |
| ] | |