wenwenyu / TCM

Turning a CLIP Model into a Scene Text Detector (CVPR2023) | Turning a CLIP Model into a Scene Text Spotter (TPAMI)
Other
176 stars 14 forks source link

ImportError: cannot import name 'string_metric' from 'rapidfuzz' #8

Open AdamRii opened 1 year ago

AdamRii commented 1 year ago

请问这个问题怎么解决呢

AdamRii commented 1 year ago

版本问题

kaifang1987 commented 1 year ago

版本问题 什么版本问题呢?我今天也遇到这个报错了,请明示

siriuszhang025 commented 4 months ago

解决方法: pip uninstall rapidfuzz pip install rapidfuzz==2.15.1 pip install ftfy pip install regex pip install num2words pip install yapf==0.40.1