Spaces:
Sleeping
Sleeping
s-egg-mentation / deployments /deployment /Instance segmentation task /python /demo_package /__init__.py
Download deployments/deployment/Instance segmentation task/python/demo_package/__init__.py from dr-hamilton/s-egg-mentation: direct link, hf CLI and curl.
- Browser
- Download file 692 Bytes
-
https://huggingface.co/spaces/dr-hamilton/s-egg-mentation/resolve/main/deployments/deployment/Instance%20segmentation%20task/python/demo_package/__init__.py
- Command line
-
hf download 'hf://spaces/dr-hamilton/s-egg-mentation/deployments/deployment/Instance segmentation task/python/demo_package/__init__.py'
-
curl -L -o __init__.py https://huggingface.co/spaces/dr-hamilton/s-egg-mentation/resolve/main/deployments/deployment/Instance%20segmentation%20task/python/demo_package/__init__.py
692 Bytes
| # Copyright (C) 2024 Intel Corporation | |
| # SPDX-License-Identifier: Apache-2.0 | |
| # | |
| """Initialization of demo package.""" | |
| from .executors import AsyncExecutor, SyncExecutor | |
| from .model_wrapper import ModelWrapper | |
| from .utils import create_visualizer | |
| from .visualizers import ( | |
| BaseVisualizer, | |
| ClassificationVisualizer, | |
| InstanceSegmentationVisualizer, | |
| ObjectDetectionVisualizer, | |
| SemanticSegmentationVisualizer, | |
| ) | |
| __all__ = [ | |
| "SyncExecutor", | |
| "AsyncExecutor", | |
| "create_visualizer", | |
| "ModelWrapper", | |
| "BaseVisualizer", | |
| "ClassificationVisualizer", | |
| "SemanticSegmentationVisualizer", | |
| "InstanceSegmentationVisualizer", | |
| "ObjectDetectionVisualizer", | |
| ] | |