赞
踩
安装命令:
-
- git clone https://github.com/NVIDIA/MinkowskiEngine.git
- cd MinkowskiEngine
- python setup.py install --blas_include_dirs=${CONDA_PREFIX}/include --blas=openblas
-
-
报错:
- File "/home/xxx/miniconda3/envs/pcgc/lib/python3.8/subprocess.py", line 415, in check_output
- return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
- File "/home/xxx/miniconda3/envs/pcgc/lib/python3.8/subprocess.py", line 516, in run
- raise CalledProcessError(retcode, process.args,
- subprocess.CalledProcessError: Command '['which', 'g++']' returned non-zero exit status 1.
解决:export CXX=g++-7
又报错:
- nvcc fatal : Unsupported gpu architecture 'compute_75'
- error: command '/usr/bin/nvcc' failed with exit code 1
解决:export CUDA_HOME=/usr/local/cuda
成功:
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。