BtcDet
BtcDet copied to clipboard
When I run multifindbestfit.py, It reports an error: CUDA error: invalid configuration argument. How can I fix it ?
python -m btcdet.datasets.multifindbestfit
No CUDA runtime is found, using CUDA_HOME='/usr/local/cuda-11.1:/usr/local/cuda-11.1:'
Traceback (most recent call last):
File "/home/scy/anaconda3/envs/pcdet1/lib/python3.8/runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/home/scy/anaconda3/envs/pcdet1/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/home/scy/project/btcdet/BtcDet/btcdet/datasets/multifindbestfit.py", line 23, in
can anybody help me?
open bashrc file and add following commands: export PATH="/usr/local/cuda-11.6/bin:$PATH" export LD_LIBRARY_PATH="'usr/local/cuda-11.6/lib64:$LD_LIBRARY_PATH" export CUDA_HOME=/usr/local/cuda-11.6 replace '11.6' corresponding with your cuda version
Hello, I meet the same problem. But,
''' open bashrc file and add following commands: export PATH="/usr/local/cuda-11.6/bin:$PATH" export LD_LIBRARY_PATH="'usr/local/cuda-11.6/lib64:$LD_LIBRARY_PATH" export CUDA_HOME=/usr/local/cuda-11.6 replace '11.6' corresponding with your cuda version ''''
it didn't solve it.
No CUDA runtime is found, using CUDA_HOME='/usr/local/cuda-11.1'
Traceback (most recent call last):
File "/home/xxx/miniconda/envs/Btcdet/lib/python3.8/runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/home/xxx/miniconda/envs/Btcdet/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/home/xxx/shuangzh_workspace/BtcDet_env/BtcDet/btcdet/datasets/multifindbestfit.py", line 21, in
I meet the same problem. If your gpus<4, this error may be caused by line 10 'os.environ["CUDA_VISIBLE_DEVICES"] = "3"', remove it.
Thanks. It solved my problem!