Instructions to use Aryn/deformable-detr-DocLayNet with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Aryn/deformable-detr-DocLayNet with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("object-detection", model="Aryn/deformable-detr-DocLayNet")# Load model directly from transformers import AutoImageProcessor, AutoModelForObjectDetection processor = AutoImageProcessor.from_pretrained("Aryn/deformable-detr-DocLayNet") model = AutoModelForObjectDetection.from_pretrained("Aryn/deformable-detr-DocLayNet") - Notebooks
- Google Colab
- Kaggle
Replication issues
#7
by generalzzz - opened
Hi! This is an amazing model. Thanks for sharing.
I’m trying to replicate the training on PubLayNet dataset using https://github.com/fundamentalvision/Deformable-DETR you mentioned in https://huggingface.co/Aryn/deformable-detr-DocLayNet/discussions/1#66688f00b22e8b20977137d9. Could you please share:
• your full training config
• hardware details (GPU model, batch size, seed)
• optimizer, LR schedule, epochs