Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

编译安装遇到的问题和解决方法记录 #423

Open
XksA-me opened this issue Mar 15, 2023 · 5 comments
Open

编译安装遇到的问题和解决方法记录 #423

XksA-me opened this issue Mar 15, 2023 · 5 comments

Comments

@XksA-me
Copy link

XksA-me commented Mar 15, 2023

环境: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 这个文件最开头 加下面代码

没解决
@XiShuFan
Copy link

Have you solved the 3rd problem?
encoding/lib/gpu/common.h(10): error: class template "ScalarConvert" has already been defined

I'm looking forward to your answer!

@TiSgrc
Copy link

TiSgrc commented Dec 3, 2023

Have you solved the 3rd problem? encoding/lib/gpu/common.h(10): error: class template "ScalarConvert" has already been defined

I'm looking forward to your answer!

I had this problem too, have you solved it?

@crankler
Copy link

Same issue, have you solve it now?

@CXavireH
Copy link

Have you solved the 3rd problem? encoding/lib/gpu/common.h(10): error: class template "ScalarConvert" has already been defined
I'm looking forward to your answer!

I had this problem too, have you solved it?

same problem, have you solve it?

@XIANGLONGGUO
Copy link

Have you solved the 3rd problem? encoding/lib/gpu/common.h(10): error: class template "ScalarConvert" has already been defined
I'm looking forward to your answer!

I had this problem too, have you solved it?

same problem, have you solve it?

I solved the 3rd problem by remove '#include "common.h"" in 'encoding/lib/gpu/rectify_cuda.cu'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants