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
Convert to ONNX ?
#2
by OPX - opened
Hey
I'd really like to use this in Rust instead of Python...is there a way to convert the model to ONNX ?
I tried to do this with optimum-cli but I concede to be out of my depth here - any advice would be most appreciated.
Best,
//O.
Any success with this? Can you share your experience?