Duplicated from microsoft/table-transformer-detection
How to use aParadigmP/table-transformer-detection-custom-ale with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("object-detection", model="aParadigmP/table-transformer-detection-custom-ale")
# Load model directly from transformers import AutoImageProcessor, AutoModelForObjectDetection processor = AutoImageProcessor.from_pretrained("aParadigmP/table-transformer-detection-custom-ale") model = AutoModelForObjectDetection.from_pretrained("aParadigmP/table-transformer-detection-custom-ale")