Instructions to use HYPJUDY/layoutlmv3-base-finetuned-publaynet with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use HYPJUDY/layoutlmv3-base-finetuned-publaynet with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("HYPJUDY/layoutlmv3-base-finetuned-publaynet", device_map="auto") - Notebooks
- Google Colab
- Kaggle
OSError
keep getting this error “OSError: Couldn't reach server at './model/layoutlmv3-base-finetuned-publaynet/config.json' to download configuration file or configuration file is not a valid JSON file. Please check network or file content here: ./model/layoutlmv3-base-finetuned-publaynet/config.json.”
when I run the suhhested command in md file in https://github.com/microsoft/unilm/tree/master/layoutlmv3 for testing the fine-tuned model for object detection
python train_net.py --config-file cascade_layoutlmv3.yaml --eval-only --num-gpus 1
MODEL.WEIGHTS /path/to/layoutlmv3-base-finetuned-publaynet/model_final.pth
OUTPUT_DIR /path/to/layoutlmv3-base-finetuned-publaynet
I downloaded the model by using wget https://huggingface.co/HYPJUDY/layoutlmv3-base-finetuned-publaynet