Instructions to use hf-internal-testing/tiny-random-UperNetForSemanticSegmentation with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/tiny-random-UperNetForSemanticSegmentation with Transformers:
# Load model directly from transformers import AutoImageProcessor, UperNetForSemanticSegmentation processor = AutoImageProcessor.from_pretrained("hf-internal-testing/tiny-random-UperNetForSemanticSegmentation") model = UperNetForSemanticSegmentation.from_pretrained("hf-internal-testing/tiny-random-UperNetForSemanticSegmentation") - Notebooks
- Google Colab
- Kaggle
Adding `safetensors` variant of this model
#1 opened about 2 years ago
by
SFconvertbot