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

install mish_mish for issues #5

Open
molyswu opened this issue Jan 11, 2021 · 1 comment
Open

install mish_mish for issues #5

molyswu opened this issue Jan 11, 2021 · 1 comment

Comments

@molyswu
Copy link

molyswu commented Jan 11, 2021

Hi ,Tried to chang mish_mish , build and install
python setup.py build :

-D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' --expt-extended-lambda -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
FAILED: /home/user/Downloads/Scaled-YOLOv4/ScaledYOLOv4_DataXujing/mc/build/temp.linux-x86_64-3.7/csrc/mish_kernel.o
:/usr/local/cuda-10.0:/usr/local/cuda-10.2/bin/nvcc -Iexternal -I/home/user/anaconda3/lib/python3.7/site-packages/torch/include -I/home/user/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/user/anaconda3/lib/python3.7/site-packages/torch/include/TH -I/home/user/anaconda3/lib/python3.7/site-packages/torch/include/THC -I:/usr/local/cuda-10.0:/usr/local/cuda-10.2/include -I/home/user/anaconda3/include/python3.7m -c -c /home/user/Downloads/Scaled-YOLOv4/ScaledYOLOv4_DataXujing/mc/csrc/mish_kernel.cu -o /home/user/Downloads/wts/Scaled-YOLOv4/ScaledYOLOv4_DataXujing/mc/build/temp.linux-x86_64-3.7/csrc/mish_kernel.o -D__CUDA_NO_HALF_OPERATORS
_ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' --expt-extended-lambda -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
/bin/sh: 1: :/usr/local/cuda-10.0:/usr/local/cuda-10.2/bin/nvcc: not found

molyswu
thanks!

@DataXujing
Copy link
Owner

请参考#2 (comment)

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

2 participants