FourierNet icon indicating copy to clipboard operation
FourierNet copied to clipboard

Error while installing mmdetection.

Open kalpazidis opened this issue 2 years ago • 0 comments

Hello, I have followed the installation steps that you provided in the README.md. When I try the last command pip install -v -e . I get the following error:

No CUDA runtime is found, using CUDA_HOME='/usr/local/cuda-10.1' Traceback (most recent call last): File "setup.py", line 227, in sources=['src/compiling_info.cpp']), File "setup.py", line 96, in make_cuda_ext raise EnvironmentError('CUDA is required to compile MMDetection!') OSError: CUDA is required to compile MMDetection!

Probably the error comes from the lack of NVIDIA GPU. Is there any way I can run FourierNet on my CPU or AMD GPU. Is it possible that I am missing something else?

I run the python mmdet/utils/collect_env.py command and I got the following results:

(fouriernet) kalpazidis@ubuntu:~/Desktop/FourierNet$ python mmdet/utils/collect_env.py No CUDA runtime is found, using CUDA_HOME='/usr/local/cuda-10.1' Traceback (most recent call last): File "mmdet/utils/collect_env.py", line 11, in import mmdet ModuleNotFoundError: No module named 'mmdet'

The full list of commands that I used is:

conda create -n fouriernet python=3.7 conda activate fouriernet conda install pytorch torchvision -c pytorch

pip install cython ipython setuptools pip install terminaltables matplotlib opencv-python pyyaml

pip install pycocotools six idna imagecorruptions polygon3 tqdm future tensorboard git clone https://github.com/cogsys-tuebingen/FourierNet.git

cd mmdetection pip install -r requirements.txt pip install -v -e .

kalpazidis avatar Oct 15 '22 18:10 kalpazidis