VamosC / CLIP4STR

An implementation of "CLIP4STR: A Simple Baseline for Scene Text Recognition with Pre-trained Vision-Language Model".
Apache License 2.0
90 stars 12 forks source link

training with japanese language #1

Closed lerndeep closed 7 months ago

lerndeep commented 9 months ago

is it possible to train CLIP with other language

VamosC commented 9 months ago

Yes, you can sure do that. For example, you can choose a Multilingual-CLIP that supports japanese https://github.com/FreddeFrallan/Multilingual-CLIP. Besides, you also need to change the charset and tokenizer in https://github.com/VamosC/CLIP4STR/blob/main/strhub/data/utils.py and other files.

VamosC commented 7 months ago

Close due to inactivity. Feel free to re-open.