zhanghang1989 / zhanghang1989/PyTorch-Encoding
编译安装遇到的问题和解决方法记录
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 2k
- Forks
- 448
- PR merge metrics
- No merged PRs in 30d
Description
环境:ubuntu18.04 cuda10.0 py3.6 torch1.4.0
1、ModuleNotFoundError: No module named 'Cython'
pip install Cython
2、/PyTorch-Encoding/encoding/lib/gpu/lib_ssd.cu(144): error: identifier "FLT_MAX" is undefined
/PyTorch-Encoding/encoding/lib/gpu/lib_ssd.cu 代码开头加:
#include <cfloat>
3、/PyTorch-Encoding/encoding/lib/gpu/common.h(10): error: class template "ScalarConvert" has already been defined
/PyTorch-Encoding/encoding/lib/gpu/common.h 这个文件最开头 加下面代码
没解决
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with issue #423 and verify the reported Ubuntu 18.04, CUDA 10.0, Python 3.6, and PyTorch 1.4.0 installation errors. Check the commands and edits for encoding/lib/gpu/lib_ssd.cu and encoding/lib/gpu/common.h, then document confirmed solutions and clearly mark the unresolved ScalarConvert problem.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, pytorch
- Domain
- build-system, documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100