• 카테고리

    질문 & 답변
  • 세부 분야

    컴퓨터 비전

  • 해결 여부

    미해결

[문의] MMdetection 설치 문의

22.01.21 13:56 작성 조회수 1.15k

0

안녕하세요 강의 학습중인 태창일입니다.
 
회사내에서 제공되는 서버에 설치하려 하는데 가르쳐주신 2가지 방법 다 오류로 설치가 안되고 있습니다.ㅠㅜ
혹시 해결가능한 방안이 있을까요?
! pip install mmcv-full 실행 시
Looking in indexes: http://nexus.itplatform.display.net/repository/pypi/simple
Collecting mmcv-full
  Downloading http://nexus.itplatform.display.net/repository/pypi/packages/mmcv-full/1.4.3/mmcv-full-1.4.3.tar.gz (416 kB)
     |████████████████████████████████| 416 kB 12.7 MB/s eta 0:00:01
Requirement already satisfied: addict in /opt/conda/lib/python3.8/site-packages (from mmcv-full) (2.4.0)
Requirement already satisfied: numpy in /opt/conda/lib/python3.8/site-packages (from mmcv-full) (1.21.2)
Requirement already satisfied: packaging in /opt/conda/lib/python3.8/site-packages (from mmcv-full) (21.0)
Requirement already satisfied: Pillow in /opt/conda/lib/python3.8/site-packages (from mmcv-full) (9.0.0)
Requirement already satisfied: pyyaml in /opt/conda/lib/python3.8/site-packages (from mmcv-full) (5.4.1)
Requirement already satisfied: yapf in /opt/conda/lib/python3.8/site-packages (from mmcv-full) (0.32.0)
Requirement already satisfied: pyparsing>=2.0.2 in /opt/conda/lib/python3.8/site-packages (from packaging->mmcv-full) (2.4.7)
Building wheels for collected packages: mmcv-full
  Building 

wheel for mmcv-full (setup.py) ... error ERROR: Command errored out with exit status 1: command: /opt/conda/bin/python3.8 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-_ro550cs/mmcv-full_ebef135dcaf545288403549e44566cd4/setup.py'"'"'; __file__='"'"'/tmp/pip-install-_ro550cs/mmcv-full_ebef135dcaf545288403549e44566cd4/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'"'"'))' bdist_wheel -d /tmp/pip-wheel-mjrhqg2q cwd: /tmp/pip-install-_ro550cs/mmcv-full_ebef135dcaf545288403549e44566cd4/ Complete output (1057 lines): running bdist_wheel
 
2. !pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cu114/torch1.10.0/index.html 실행 시
 
Looking in indexes: http://nexus.itplatform.display.net/repository/pypi/simple
Looking in links: https://download.openmmlab.com/mmcv/dist/cu114/torch1.10.0/index.html
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))': /mmcv/dist/cu114/torch1.10.0/index.html

 

답변 1

답변을 작성해보세요.

0

안녕하십니까, 

여러가지 검색을 해봤는데,  이유를 찾지 못했습니다. 

아마도 cuda 11.4 와 호환이 잘 안되는 것 같습니다만,,, 확실하지는 않습니다. cuda version을 11.1 정도로 낮춰서 함 시도해 보시는건 어떨까 싶습니다. 

감사합니다!  cuda 111/ torch 1.9로 낮춰서 설치했습니다.