How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("image-segmentation", model="hf-internal-testing/tiny-random-beit-pipeline")
# Load model directly
from transformers import AutoImageProcessor, BeitForSemanticSegmentation

processor = AutoImageProcessor.from_pretrained("hf-internal-testing/tiny-random-beit-pipeline")
model = BeitForSemanticSegmentation.from_pretrained("hf-internal-testing/tiny-random-beit-pipeline")
Quick Links

Make the feature_extractor and model config agree.

Downloads last month
455
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support