Spaces:
Runtime error
Runtime error
Download sapiens/engine/datasets/transforms/__init__.py from facebook/sapiens2-normal: direct link, hf CLI and curl.
- Browser
- Download file 544 Bytes
-
https://huggingface.co/spaces/facebook/sapiens2-normal/resolve/main/sapiens/engine/datasets/transforms/__init__.py
- Command line
-
hf download hf://spaces/facebook/sapiens2-normal/sapiens/engine/datasets/transforms/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/facebook/sapiens2-normal/resolve/main/sapiens/engine/datasets/transforms/__init__.py
544 Bytes
| # Copyright (c) Meta Platforms, Inc. and affiliates. | |
| # All rights reserved. | |
| # | |
| # This source code is licensed under the license found in the | |
| # LICENSE file in the root directory of this source tree. | |
| from .base_transform import BaseTransform, to_tensor | |
| from .common_transforms import ( | |
| ImagePackInputs, | |
| ImageResize, | |
| PhotoMetricDistortion, | |
| RandomPhotoMetricDistortion, | |
| ) | |
| __all__ = [ | |
| "to_tensor", | |
| "BaseTransform", | |
| "ImageResize", | |
| "ImagePackInputs", | |
| "PhotoMetricDistortion", | |
| "RandomPhotoMetricDistortion", | |
| ] | |