Open pramitd opened 1 year ago
I have the same exact issue on docker as well, also coming here from lang-seg to try to get it to work. I've also tried regular pip install but "import encoding" would always generate an error. Hope this gets attention soon!
Is the docker in torch-encoding working? https://hangzhang.org/PyTorch-Encoding/notes/compile.html#using-docker
For issue related to lang-seg, it would be great to reach out to the original authors
Hi, Error posted above is coming during building the docker file in this repository and not lang-seg.
In my case, I solve this error by running the docker container using a command (not use run_docker.sh) and installing torch-encoding
.
docker run -it -d -P --gpus all --name encoding nvcr.io/nvidia/pytorch:20.06-py3
docker exec -it encoding bash
pip install torch-encoding
Also, this error can occur when you use pip install git+https://github.com/zhanghang1989/PyTorch-Encoding/
.
So you should use pip install torch-encoding
instead.
Hi, Thank you for the codebase. I am trying to run the model (https://github.com/isl-org/lang-seg) which requires torch-encoding. For my research I need to build a singularity container from a docker image and add any further dependencies to the singularity.
Currently, to ensure that I have correct environment I decided to compile the docker provided here and then convert it to the singularity.
When running bash scripts/build_docker.sh , I get the following error:
Any clue as to what am I missing here. Should I have some library on my system to build the docker ? I am stuck on this issue for more than a week!
Looking forward to your reply. Best Regards, Pramit