Instructions to use varcoder/segformer-b4-crack-segmentation-dataset with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use varcoder/segformer-b4-crack-segmentation-dataset with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-segmentation", model="varcoder/segformer-b4-crack-segmentation-dataset")# Load model directly from transformers import AutoImageProcessor, SegformerForSemanticSegmentation processor = AutoImageProcessor.from_pretrained("varcoder/segformer-b4-crack-segmentation-dataset") model = SegformerForSemanticSegmentation.from_pretrained("varcoder/segformer-b4-crack-segmentation-dataset") - Notebooks
- Google Colab
- Kaggle