Instructions to use microsoft/table-transformer-detection with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use microsoft/table-transformer-detection with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("object-detection", model="microsoft/table-transformer-detection")# Load model directly from transformers import AutoImageProcessor, AutoModelForObjectDetection processor = AutoImageProcessor.from_pretrained("microsoft/table-transformer-detection") model = AutoModelForObjectDetection.from_pretrained("microsoft/table-transformer-detection") - Notebooks
- Google Colab
- Kaggle
Getting error as "The model_type 'table-transformer' is not recognized. It could be a bleeding edge model, or incorrect"
#1
by akhilpeterrajan - opened
Hey, as the error says, the API wasn't up to date, so this model wasn't supported as it's quite new.
Works now.
akhilpeterrajan changed discussion status to closed
