NielsRogge / Transformers-Tutorials

This repository contains demos I made with the Transformers library by HuggingFace.
MIT License
8.45k stars 1.32k forks source link

Finetuning Donut throws KeyError #349

Open tanuki0492 opened 9 months ago

tanuki0492 commented 9 months ago

I tried to run the Donut Image Classification notebook for finetuning ( Fine_tune_Donut_on_toy_RVLCDIP(document_image_classification).ipynb) and received below error:

image

I did not adjust anything in the notebook but keep getting the error also when trying out with my custom dataset. Can anyone help me?