Spaces:
Sleeping
Sleeping
Download utils/__init__.py from Lee-H/XAI_Vision_Inspector: direct link, hf CLI and curl.
- Browser
- Download file 314 Bytes
-
https://huggingface.co/spaces/Lee-H/XAI_Vision_Inspector/resolve/main/utils/__init__.py
- Command line
-
hf download hf://spaces/Lee-H/XAI_Vision_Inspector/utils/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/Lee-H/XAI_Vision_Inspector/resolve/main/utils/__init__.py
314 Bytes
| from .image_utils import ( | |
| preprocess_image, | |
| denormalize_tensor, | |
| load_image_from_bytes, | |
| load_image_from_url, | |
| pil_to_numpy, | |
| SAMPLE_IMAGES, | |
| ) | |
| __all__ = [ | |
| "preprocess_image", "denormalize_tensor", | |
| "load_image_from_bytes", "load_image_from_url", | |
| "pil_to_numpy", "SAMPLE_IMAGES", | |
| ] | |