protocolbuffers / protobuf

Protocol Buffers - Google's data interchange format
http://protobuf.dev
Other
65.88k stars 15.52k forks source link

TypeError: Couldn't build proto file into descriptor pool: duplicate file name sentencepiece_model.proto #18000

Open nafiz09 opened 3 months ago

nafiz09 commented 3 months ago

Encountered this error while running this cell

from transformers import DonutProcessor, VisionEncoderDecoderModel, BartConfig

processor = DonutProcessor.from_pretrained("naver-clova-ix/donut-base") model = VisionEncoderDecoderModel.from_pretrained("naver-clova-ix/donut-base", config=config)

anyone faced it?

versions sentencepiece==0.2.0 protobuf==3.19.0

github-actions[bot] commented 3 days ago

We triage inactive PRs and issues in order to make it easier to find active work. If this issue should remain active or becomes active again, please add a comment.

This issue is labeled inactive because the last activity was over 90 days ago. This issue will be closed and archived after 14 additional days without activity.