chaofengc / IQA-PyTorch

👁️ 🖼️ 🔥PyTorch Toolbox for Image Quality Assessment, including LPIPS, FID, NIQE, NRQM(Ma), MUSIQ, TOPIQ, NIMA, DBCNN, BRISQUE, PI and more...
https://iqa-pytorch.readthedocs.io/
Other
1.74k stars 159 forks source link

Why pyiqa depend on transformers 4.37.2 #159

Open Luciennnnnnn opened 2 months ago

Luciennnnnnn commented 2 months ago

Hi, I'm experimenting with some new models in huggingface, transformers 4.37.2 have a bug about tokenizer or bug is in tokenizers library (but these two libraries are coupled together, I have to upgrade them simultaneously).

Is is possible to relax transformers dependency of pyiqa? @chaofengc

chaofengc commented 2 months ago

transformers 4.37.2 is required by the qalign metric. Feel free to use latest transformers if you are not using qalign.