mmcv
mmcv copied to clipboard
There is a error it occurs when i install mmcv-full
Checklist
- I have searched related issues but cannot get the expected help.
- I have read the FAQ documentation but cannot get the expected help.
(mmdet) sdxx@sdxx-System-Product-Name:~$ python -m pip install mmcv -f https://download.openmmlab.com/mmcv/dist/cu100/torch1.5.0/index.html
Looking in links: https://download.openmmlab.com/mmcv/dist/cu100/torch1.5.0/index.html
Collecting mmcv
Using cached mmcv-1.5.0.tar.gz (530 kB)
ERROR: Command errored out with exit status 1:
command: /home/sdxx/hgf/anaconda3/envs/mmdet/bin/python -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-qy7j3u7r/mmcv_400de229c8044136bf372d6682c0a68b/setup.py'"'"'; file='"'"'/tmp/pip-install-qy7j3u7r/mmcv_400de229c8044136bf372d6682c0a68b/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-0rxz1slt
cwd: /tmp/pip-install-qy7j3u7r/mmcv_400de229c8044136bf372d6682c0a68b/
Complete output (11 lines):
Traceback (most recent call last):
File "
Hi @GF1447571253 , we have not provided pre-built packages for cu10.0.
but i have tried cu102 too and got same error
Sent from my iPhone
------------------ Original ------------------ From: Zaida Zhou @.> Date: Thu,May 12,2022 10:11 PM To: open-mmlab/mmcv @.> Cc: GF1447571253 @.>, Mention @.> Subject: Re: [open-mmlab/mmcv] There is a error it occurs when i installmmcv-full (Issue #1955)
Hi @GF1447571253 , we have not provided pre-built packages for cu10.0.
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>
Could you also provide the log of cu102?
(mmdet) sdxx@sdxx-System-Product-Name:~$ python -m pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cu102/torch1.5.0/index.html
Looking in links: https://download.openmmlab.com/mmcv/dist/cu102/torch1.5.0/index.html
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f2a240ddd60>, 'Connection to download.openmmlab.com timed out. (connect timeout=15)')': /mmcv/dist/cu102/torch1.5.0/index.html
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate (_ssl.c:1131)'))': /mmcv/dist/cu102/torch1.5.0/index.html
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f2a240dd040>, 'Connection to download.openmmlab.com timed out. (connect timeout=15)')': /mmcv/dist/cu102/torch1.5.0/index.html
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate (_ssl.c:1131)'))': /mmcv/dist/cu102/torch1.5.0/index.html
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate (_ssl.c:1131)'))': /mmcv/dist/cu102/torch1.5.0/index.html
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate (_ssl.c:1131)'))': /simple/mmcv-full/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate (_ssl.c:1131)'))': /simple/mmcv-full/
Collecting mmcv-full
Using cached mmcv-full-1.5.0.tar.gz (530 kB)
ERROR: Command errored out with exit status 1:
command: /home/sdxx/hgf/anaconda3/envs/mmdet/bin/python -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-3v71yk2j/mmcv-full_9f8cbda738f34d3f95fe57a9a4fb5bb6/setup.py'"'"'; file='"'"'/tmp/pip-install-3v71yk2j/mmcv-full_9f8cbda738f34d3f95fe57a9a4fb5bb6/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-6ioz6p32
cwd: /tmp/pip-install-3v71yk2j/mmcv-full_9f8cbda738f34d3f95fe57a9a4fb5bb6/
Complete output (11 lines):
Traceback (most recent call last):
File "
It seems like your machine could not visit the URL (https://download.openmmlab.com/mmcv/dist/cu102/torch1.5.0/index.html).
(mmdet) sdxx@sdxx-System-Product-Name:~$ python -m pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cu102/torch1.5.0/index.html Looking in links: https://download.openmmlab.com/mmcv/dist/cu102/torch1.5.0/index.html Collecting mmcv-full Downloading https://download.openmmlab.com/mmcv/dist/cu102/torch1.5.0/mmcv_full-1.5.0-cp38-cp38-manylinux1_x86_64.whl (40.8 MB) |████████████████████████████████| 40.8 MB 326 kB/s Requirement already satisfied: Pillow in ./hgf/anaconda3/envs/mmdet/lib/python3.8/site-packages (from mmcv-full) (9.0.1) Collecting yapf Using cached yapf-0.32.0-py2.py3-none-any.whl (190 kB) Collecting pyyaml Downloading PyYAML-6.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (701 kB) |████████████████████████████████| 701 kB 411 kB/s Requirement already satisfied: packaging in ./hgf/anaconda3/envs/mmdet/lib/python3.8/site-packages (from mmcv-full) (21.3) Collecting addict Using cached addict-2.4.0-py3-none-any.whl (3.8 kB) Requirement already satisfied: numpy in ./hgf/anaconda3/envs/mmdet/lib/python3.8/site-packages (from mmcv-full) (1.21.5) Collecting opencv-python>=3 Downloading opencv_python-4.5.5.64-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (60.5 MB) |████████████████████████████████| 60.5 MB 266 kB/s Requirement already satisfied: pyparsing!=3.0.5,>=2.0.2 in ./hgf/anaconda3/envs/mmdet/lib/python3.8/site-packages (from packaging->mmcv-full) (3.0.9) Installing collected packages: yapf, pyyaml, opencv-python, addict, mmcv-full Successfully installed addict-2.4.0 mmcv-full-1.5.0 opencv-python-4.5.5.64 pyyaml-6.0 yapf-0.32.0
I have installed mmcv-full, however when i try to run /tools/test.py, another error occurs
(mmdet) sdxx@sdxx-System-Product-Name:~/hgf/mmdetection$ python tools/test.py work_dirs/faster_rcnn_r50_fpn_1x_coco/lates.pth --eval bbox
Traceback (most recent call last):
File "tools/test.py", line 8, in
You can try to re-install PyTorch.
i got same error (mmdet) sdxx@sdxx-System-Product-Name:~/hgf/mmdetection$ conda install pytorch==1.10.1 torchvision==0.11.2 torchaudio==0.10.1 cudatoolkit=10.2 -c pytorch Collecting package metadata (current_repodata.json): done Solving environment: done
Package Plan
environment location: /home/sdxx/hgf/anaconda3/envs/mmdet
added / updated specs: - cudatoolkit=10.2 - pytorch==1.10.1 - torchaudio==0.10.1 - torchvision==0.11.2
The following NEW packages will be INSTALLED:
blas anaconda/pkgs/free/linux-64::blas-1.0-mkl bzip2 anaconda/pkgs/main/linux-64::bzip2-1.0.8-h7b6447c_0 ffmpeg pytorch/linux-64::ffmpeg-4.3-hf484d3e_0 freetype anaconda/pkgs/main/linux-64::freetype-2.11.0-h70c0345_0 giflib anaconda/pkgs/main/linux-64::giflib-5.2.1-h7b6447c_0 gmp anaconda/pkgs/main/linux-64::gmp-6.2.1-h2531618_2 gnutls anaconda/pkgs/main/linux-64::gnutls-3.6.15-he1e5248_0 intel-openmp anaconda/pkgs/main/linux-64::intel-openmp-2021.4.0-h06a4308_3561 jpeg anaconda/pkgs/main/linux-64::jpeg-9e-h7f8727e_0 lame anaconda/pkgs/main/linux-64::lame-3.100-h7b6447c_0 lcms2 anaconda/pkgs/main/linux-64::lcms2-2.12-h3be6417_0 libiconv anaconda/pkgs/free/linux-64::libiconv-1.14-0 libidn2 anaconda/pkgs/main/linux-64::libidn2-2.3.2-h7f8727e_0 libpng anaconda/pkgs/main/linux-64::libpng-1.6.37-hbc83047_0 libtasn1 anaconda/pkgs/main/linux-64::libtasn1-4.16.0-h27cfd23_0 libtiff anaconda/pkgs/main/linux-64::libtiff-4.2.0-h85742a9_0 libunistring anaconda/pkgs/main/linux-64::libunistring-0.9.10-h27cfd23_0 libuv anaconda/pkgs/main/linux-64::libuv-1.40.0-h7b6447c_0 libwebp anaconda/pkgs/main/linux-64::libwebp-1.2.2-h55f646e_0 libwebp-base anaconda/pkgs/main/linux-64::libwebp-base-1.2.2-h7f8727e_0 lz4-c anaconda/pkgs/main/linux-64::lz4-c-1.9.3-h295c915_1 mkl anaconda/pkgs/main/linux-64::mkl-2021.4.0-h06a4308_640 mkl-service anaconda/pkgs/main/linux-64::mkl-service-2.4.0-py38h7f8727e_0 mkl_fft anaconda/pkgs/main/linux-64::mkl_fft-1.3.1-py38hd3c417c_0 mkl_random anaconda/pkgs/main/linux-64::mkl_random-1.2.2-py38h51133e4_0 nettle anaconda/pkgs/main/linux-64::nettle-3.7.3-hbbd107a_1 numpy anaconda/pkgs/main/linux-64::numpy-1.21.5-py38he7a7128_2 numpy-base anaconda/pkgs/main/linux-64::numpy-base-1.21.5-py38hf524024_2 openh264 anaconda/pkgs/main/linux-64::openh264-2.1.1-h4ff587b_0 pillow anaconda/pkgs/main/linux-64::pillow-9.0.1-py38h22f2fdc_0 pytorch pytorch/linux-64::pytorch-1.10.1-py3.8_cuda10.2_cudnn7.6.5_0 pytorch-mutex pytorch/noarch::pytorch-mutex-1.0-cuda six anaconda/pkgs/main/noarch::six-1.16.0-pyhd3eb1b0_1 torchaudio pytorch/linux-64::torchaudio-0.10.1-py38_cu102 torchvision pytorch/linux-64::torchvision-0.11.2-py38_cu102 typing_extensions anaconda/pkgs/main/noarch::typing_extensions-4.1.1-pyh06a4308_0 zstd anaconda/pkgs/main/linux-64::zstd-1.4.9-haebb681_0
Proceed ([y]/n)? y
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
(mmdet) sdxx@sdxx-System-Product-Name:~/hgf/mmdetection$ python tools/test.py work_dirs/faster_rcnn_r50_fpn_1x_coco/lates.pth --eval bbox
Traceback (most recent call last):
File "tools/test.py", line 8, in
Maybe you can open an issue for help in PyTorch.