clovaai / donut

Official Implementation of OCR-free Document Understanding Transformer (Donut) and Synthetic Document Generator (SynthDoG), ECCV 2022
https://arxiv.org/abs/2111.15664
MIT License
5.74k stars 466 forks source link

Error "A configuraton of type donut cannot be instantiated because not both `encoder` and `decoder` sub-configurations are passed" when run inference after finetuned docvqa without pushing to hugging face? #289

Open phuchm opened 7 months ago

phuchm commented 7 months ago

After I finetuned docvq following guideline: Train

I found in "result" folder and there are some files like: Data

It's same when downloading base model from hugging face, but when I run inference with new model after finetuned, I got an error message like: Error

Then I compared config.json between base model and new model after finetuned, they are different. How can I call or load model after finetuned?

valentinschabschneider commented 2 months ago

I have the same issue :/