integrating transformer ocr

This commit is contained in:
vahidrezanezhad 2026-02-03 19:45:50 +01:00 committed by kba
parent e9839a8b54
commit 7f86a55ccb
3 changed files with 170 additions and 1 deletions

View file

@ -8,3 +8,6 @@ tensorflow-addons # for connected_components, depublished and only compatible wi
tensorflow < 2.16 # for tensorflow-addons, so only needed in training
tf_data < 2.16 # for tensorflow-addons, so only needed in training
protobuf < 5 # for tensorflow-addons, so only needed in training
torch
transformers <= 4.30.2 ; python_version < '3.10'
transformers >= 5 ; python_version >= '3.10'