isl-org / lang-seg

Language-Driven Semantic Segmentation
MIT License
691 stars 84 forks source link

Error when running test.py #10

Closed Sun-XH closed 2 years ago

Sun-XH commented 2 years ago

Hi! Thanks for the good work! I met a problem when I tried to run test.sh. The error said, "cannot import name 'Resize' from 'utils'". I have checked utils.py, there is no function or class called 'Resize'. Is the code missing this part? Looking forward to your reply.

Boyiliee commented 2 years ago

Hi @Sun-XH,

Thanks for your interest in LSeg and thanks for pointing this out!

Just updated the file. Hope this helps.

Best wishes for your research!

Best, Boyi