How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("object-detection", model="nielsr/detr-table-structure-recognition")
# Load model directly
from transformers import AutoImageProcessor, AutoModelForObjectDetection

processor = AutoImageProcessor.from_pretrained("nielsr/detr-table-structure-recognition")
model = AutoModelForObjectDetection.from_pretrained("nielsr/detr-table-structure-recognition", device_map="auto")
Quick Links

YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

Hi,

Please don't use this model anymore, it only worked for a specific branch of mine.

From now on it's recommended to use https://huggingface.co/microsoft/table-transformer-structure-recognition from Transformers.

Thanks, have a great day

Downloads last month
15
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support