Instructions to use cmarkea/dit-base-layout-detection with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use cmarkea/dit-base-layout-detection with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-segmentation", model="cmarkea/dit-base-layout-detection")# Load model directly from transformers import AutoImageProcessor, BeitForSemanticSegmentation processor = AutoImageProcessor.from_pretrained("cmarkea/dit-base-layout-detection") model = BeitForSemanticSegmentation.from_pretrained("cmarkea/dit-base-layout-detection") - Inference
- Notebooks
- Google Colab
- Kaggle
Ctrl+K