Unrecognized feature extractor in AdamCodd/donut-receipts-extract. Should have a `feature_extractor_type

#3
by vamoruso - opened

Hello, thank you for your job.
I'm trying to use the model in python using the snippet in model card.. but receive an error
"ValueError: Unrecognized feature extractor in AdamCodd/donut-receipts-extract. Should have a feature_extractor_type key in its preprocessor_config.json of config.json".
Any help?

Thank in advance.
Vince

Owner

Hello, may I ask what version of the transformers library you're using?

Hello @AdamCodd ,
here my version
Name: transformers
Version: 4.24.0
Thx
Vincenzo

Owner

Thanks. I see that your transformers library is a little behind. Could you update it to at least 4.36.2 and let me know if you're still having the same issue?

Thanks @AdamCodd you are right. Now it works fine.
πŸ™

Sign up or log in to comment