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")# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, AutoModelForObjectDetection processor = AutoImageProcessor.from_pretrained("Aryn/deformable-detr-DocLayNet") model = AutoModelForObjectDetection.from_pretrained("Aryn/deformable-detr-DocLayNet", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
[Clean-up] Planned removal of the `max_size` argument
Verified signature- Remove deprecated `max_size` and replace `size` with a Dict - Replace deprecated `"feature_extractor_type": "DetrFeatureExtractor"` with `"image_processor_type": "DetrImageProcessor"`8a0fa1d
-
Update README.md
Verified signatureb066969
-
Update README.md
Verified signatureswitch cat image to doc image in example code13dd5c8
-
Update README.md
Verified signatureAdded examplesaacbbc3 -
Update README.md
Verified signature460e64f -
Update README.md
Verified signatureUpdate widget example7a1ac89 -
Delete examples/test.md
Verified signaturec5946fb -
Rename doclaynet_example_3.png to examples/doclaynet_example_3.png
Verified signaturemove to examples folder0800316 -
Rename doclaynet_example_2.png to examples/doclaynet_example_2.png
Verified signaturemove to examples folder194e5f4 -
Rename doclaynet_example_1.png to examples/doclaynet_example_1.png
Verified signature626ff74 -
Create examples/test.md
Verified signature42ea57e -
Upload 3 files
Verified signatureAdding examples for widget5fcdb2d
-
Update README.md
Verified signatureChanged model name3b46ecb
-
Update README.md
Verified signature2441def -
Add model weights
Verified signatured7e6683 -
Update README.md
Verified signatureAdding README4f80bbc -
initial commit
Verified signaturedde42b5