Instructions to use MRiabov/WireSegHR with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use MRiabov/WireSegHR with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-segmentation", model="MRiabov/WireSegHR")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("MRiabov/WireSegHR", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download src/wireseghr/data/__init__.py from MRiabov/WireSegHR: direct link, hf CLI and curl.
- Browser
- Download file 143 Bytes
-
https://huggingface.co/MRiabov/WireSegHR/resolve/main/src/wireseghr/data/__init__.py
- Command line
-
hf download hf://MRiabov/WireSegHR/src/wireseghr/data/__init__.py
-
curl -L -o __init__.py https://huggingface.co/MRiabov/WireSegHR/resolve/main/src/wireseghr/data/__init__.py
143 Bytes
| from .dataset import WireSegDataset | |
| from .sampler import BalancedPatchSampler | |
| __all__ = [ | |
| "WireSegDataset", | |
| "BalancedPatchSampler", | |
| ] | |