How to use andro-flock/b2-segmentation with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-segmentation", model="andro-flock/b2-segmentation")
# Load model directly from transformers import AutoImageProcessor, SegformerForSemanticSegmentation processor = AutoImageProcessor.from_pretrained("andro-flock/b2-segmentation") model = SegformerForSemanticSegmentation.from_pretrained("andro-flock/b2-segmentation")
The community tab is the place to discuss and collaborate with the HF community!