Instructions to use mccaly/test2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mccaly/test2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-segmentation", model="mccaly/test2")# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, UperNetForSemanticSegmentation processor = AutoImageProcessor.from_pretrained("mccaly/test2") model = UperNetForSemanticSegmentation.from_pretrained("mccaly/test2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download docs/api.rst from mccaly/test2: direct link, hf CLI and curl.
- Browser
- Download file 832 Bytes
-
https://huggingface.co/mccaly/test2/resolve/main/docs/api.rst
- Command line
-
hf download hf://mccaly/test2/docs/api.rst
-
curl -L -o api.rst https://huggingface.co/mccaly/test2/resolve/main/docs/api.rst
832 Bytes
| API Reference | |
| ============== | |
| mmseg.apis | |
| -------------- | |
| .. automodule:: mmseg.apis | |
| :members: | |
| mmseg.core | |
| -------------- | |
| seg | |
| ^^^^^^^^^^ | |
| .. automodule:: mmseg.core.seg | |
| :members: | |
| evaluation | |
| ^^^^^^^^^^ | |
| .. automodule:: mmseg.core.evaluation | |
| :members: | |
| utils | |
| ^^^^^^^^^^ | |
| .. automodule:: mmseg.core.utils | |
| :members: | |
| mmseg.datasets | |
| -------------- | |
| datasets | |
| ^^^^^^^^^^ | |
| .. automodule:: mmseg.datasets | |
| :members: | |
| pipelines | |
| ^^^^^^^^^^ | |
| .. automodule:: mmseg.datasets.pipelines | |
| :members: | |
| mmseg.models | |
| -------------- | |
| segmentors | |
| ^^^^^^^^^^ | |
| .. automodule:: mmseg.models.segmentors | |
| :members: | |
| backbones | |
| ^^^^^^^^^^ | |
| .. automodule:: mmseg.models.backbones | |
| :members: | |
| decode_heads | |
| ^^^^^^^^^^^^ | |
| .. automodule:: mmseg.models.decode_heads | |
| :members: | |
| losses | |
| ^^^^^^^^^^ | |
| .. automodule:: mmseg.models.losses | |
| :members: | |