Instructions to use psyche/document-layout-detector with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use psyche/document-layout-detector with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("object-detection", model="psyche/document-layout-detector")# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, AutoModelForObjectDetection processor = AutoImageProcessor.from_pretrained("psyche/document-layout-detector") model = AutoModelForObjectDetection.from_pretrained("psyche/document-layout-detector", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload DetrForObjectDetection
Browse filesFiles changed (2)
- config.json+1-1
- model.safetensors+1-1
12345{"_name_or_path": "runs_split_batch/checkpoint-8600","activation_dropout": 0.0,"activation_function": "relu","architectures": [12345{"_name_or_path": "runs_split_batch/checkpoint-15500","activation_dropout": 0.0,"activation_function": "relu","architectures": [
123version https://git-lfs.github.com/spec/v1oid sha256:ebff43da0476a4a13b449b28f22b5870f0b0e55cb1dde733a094814e3003438bsize 166498936123version https://git-lfs.github.com/spec/v1oid sha256:7a85184350b4462a9e118915a7ca04f57f26993b12320953686ee6e03ca50e73size 166498936
config.json+1-1
model.safetensors+1-1