Comments (5)
Hi,
Error posted above is coming during building the docker file in this repository and not lang-seg.
from pytorch-encoding.
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.
from pytorch-encoding.
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!
from pytorch-encoding.
Is the docker in torch-encoding working?
https://hangzhang.org/PyTorch-Encoding/notes/compile.html#using-docker
from pytorch-encoding.
For issue related to lang-seg, it would be great to reach out to the original authors
from pytorch-encoding.
Related Issues (20)
- How long will it cost for taining on PASCAL-Context dataset?
- Unsupported gpu architecture HOT 2
- AttributeError: 'tuple' object has no attribute 'log_softmax' HOT 3
- The code of visual center HOT 1
- The code of visual center HOT 1
- Package has issues with Pytorch 1.10 HOT 2
- 编译enclib_cpu模块时出错 HOT 2
- What changes need to be made in this repo if I wanted to use this on CamVid dataset
- target.cpu().numpy().astype('int64') + 1
- Which index matches which class in ADE20k?
- ResNet 101 pretrained model equivalent to old version HOT 5
- ImportError when trying to import encoding or its modules HOT 1
- installation error HOT 1
- 编译安装遇到的问题和解决方法记录 HOT 5
- ImportError: cannot import name 'cpu' from partially initialized module 'encoding' (most likely due to a circular import) HOT 2
- lib compile failed HOT 2
- RuntimeError: cudaGetLastError() == cudaSuccess INTERNAL ASSERT FAILED at "/home/msadi002/2023_challenge-main/baseline/utils/lib/gpu/encoding_kernel.cu":233 HOT 1
- 问题一:print(model)与forward中定义的model不一致,与文章中的结构不一致。问题二:且训练时,无法更新fc层梯度
- ,
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pytorch-encoding.