isl-org / lang-seg

Language-Driven Semantic Segmentation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How can I download the torch-encoding library?

weltzj opened this issue · comments

I cannot download the torch-encoding library. When running the lseg_app.py file, I encounter the following error:
File "/jinx/language-drive-seg/lang-seg-main/data/init.py", line 17, in
import encoding.datasets as enc_ds
ModuleNotFoundError: No module named 'encoding'
I found that it is likely due to not having the torch-encoding library in the dependencies. After attempting to download it with the command, I encountered an error as shown in the screenshot. Could you please advise on how to resolve this issue?
Uploading 屏幕截图 2023-11-28 195206.png…

hi, did u get it to work?