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

Error while installing mmdetection. #3

Open
kalpazidis opened this issue Oct 15, 2022 · 0 comments
Open

Error while installing mmdetection. #3

kalpazidis opened this issue Oct 15, 2022 · 0 comments

Comments

@kalpazidis
Copy link

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 .

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

1 participant