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")
The community tab is the place to discuss and collaborate with the HF community!