DataXujing / ScaledYOLOv4

:fire::fire::fire: Scaled-YOLOv4训练自己的数据集详细教程PDF,关于paper解读请联系小编获取PDF文档
72 stars 24 forks source link

install mish_mish for issues #5

Open molyswu opened 3 years ago

molyswu commented 3 years ago

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

-DCUDA_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 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_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 commented 3 years ago

请参考https://github.com/DataXujing/ScaledYOLOv4/issues/2#issuecomment-748061890