Cute Bunny 3 'Skills/Error' 카테고리의 글 목록 (3 Page)
본문 바로가기 메뉴 바로가기

이빨 빠진 미남이

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

이빨 빠진 미남이

검색하기 폼
  • 분류 전체보기 (212)
    • AI (76)
      • Machine Learning (5)
      • Deep Learning (26)
      • Reinforcement Learing (2)
      • CS231n (11)
      • Computer Vision (19)
      • Linear Algebra (1)
      • NLP (9)
    • Review (19)
      • Paper (19)
    • Skills (116)
      • PyTorch (7)
      • Docker (14)
      • Pythons (20)
      • Git & Github (3)
      • DS & Algorithms (4)
      • Error (48)
      • etc (20)
    • Mine (1)
  • 방명록

Skills/Error (48)
[Error] TypeError: 'numpy._DTypeMeta' object is not subscriptable

'numpy._DTypeMeta' object is not subscriptable 이 에러는 무엇이냐면 openCV와 numpy version이 안 맞아서 나타나는 충돌인데, numpy를 업그레이드 혹은 다운그레이드를 해주어야 한다. 보통 numpy를 1.20.0 version으로 맞추라는 solution이 많았다. pip install numpy==1.20.0 혹은 pip install numpy --upgrade 이 방법으로 업그레이드를 해보기

Skills/Error 2023. 11. 1. 19:19
[Error] Error while finding module specification for 'torch.distributed.run' (ModuleNotFoundError: No module named 'torch')

이 에러가 뜨는 경우에는 distributed 기능을 지원하는 파이토치를 업데이트 해야한다. 즉, torch.distributed 이 모듈이 포함되지 않은 이전 버전을 사용 중일 가능성이 높다는 의미이다. 1. Pytorch version 업데이트 pip install --upgrade torch torchvision 2. 필요한 패키지 별도 설치 pip install torch torchvision -f https://download.pytorch.org/whl/cpu/torch_stable.html 3. 부적절한 python 환경 python3 -m venv myenv source myenv/bin/activate pip install torch torchvision 저는 이 세 가지 방법이 다 적용..

Skills/Error 2023. 11. 1. 18:46
[Error] ModuleNotFoundError: No module named 'torch.fx'

ModuleNotFoundError: No module named 'torch.fx' 가 떴고, 다양한 해결 방법 등이 떴지만 나같은 경우에는 torchvision이 설치되지 않아 생긴 오류였다. conda install pytorch==1.7.1 torchvision==0.8.2 torchaudio==0.7.2 -c pytorch 따라서 다시 설치해주니 해결되었음 torch version, cuda version에 맞는 버전을 설치하는 걸 추천!

Skills/Error 2023. 10. 9. 19:38
[ERROR] cpython-38-x86_64-linux-gnu.so: undefined symbol: _zn3c104impl8gputrace13gputracestatee

/usr/local/lib/python3.8/dist-packages/spatial_correlation_sampler_backend.cpython-38-x86_64-linux-gnu.so: undefined symbol: _zn3c104impl8gputrace13gputracestatee error 풀네임은 이렇다. 이건 해당 파이썬 버전에서 torchvision을 가져오는데 생긴 문제라고 한다. https://github.com/pytorch/audio/issues/62#issuecomment-1166196925 해당 게시글을 참고하였다. Ubuntu 20.04를 사용 중인데 파이토치와 토치 비전 버전이 안 맞았던 걸까? 이 명령어는 Python 패키지 관리자인 pip를 사용하여 PyTorch와 to..

Skills/Error 2023. 10. 4. 20:08
could not fetch url https://pypi.org/simple/pip/: there was a problem confirming the ssl certificate: httpsconnectionpool(host='pypi.org', port=443): max retries exceeded with url: /simple/pip/ (caused by sslerror("can't connect to https url because the..

could not fetch url https://pypi.org/simple/pip/: there was a problem confirming the ssl certificate: httpsconnectionpool(host='pypi.org', port=443): max retries exceeded with url: /simple/pip/ (caused by sslerror("can't connect to https url because the ssl module is not available.")) - skipping 1. trusted-host 설정 --trusted-host pypi.python.org --trusted-host files.pythonhosted.org --trusted-hos..

Skills/Error 2023. 9. 26. 15:04
[Error] bash: python: command not found

환경 변수 설정에 대한 이해를 더 해야할 것 같다. echo alias python='python3' >> ~/.bashrc source ~/.bashrc python -V 해당 방법으로 파이썬 버전이 나오면 성공. 위 방법이 안 된다면 아래 방법 시도. which python3 ln -s /usr/bin/python3 /usr/bin/python python -V

Skills/Error 2023. 9. 25. 14:21
[Error] bash: conda: command not found

가끔 도커 이미지를 파이토치가 아닌 다른 걸로 하면 conda가 설치가 안 되어 있는 경우가 있다. conda --version export PATH=~/anaconda3/bin:$PATH conda version을 확인해본다. 환경변수 설정도 해보자. bash: conda: command not found 동일하게 위 문장이 출력된다면 conda를 설치해주자. wget https://repo.anaconda.com/archive/Anaconda3-2022.05-Linux-x86_64.sh 설치 후 bash Anaconda3-2022.05-Linux-x86_64.sh 실행해보자. 되면 설치 완료. 그리고 설치시 자동으로 path가 설정된다고 한다. 또 위와 동일한 bash: ~ not found가 나온다..

Skills/Error 2023. 9. 25. 14:05
[Error] TensorBoard logging requires TensorBoard with Python summary writer installed. This should be available in 1.14 or above

TensorBoard를 로드하기 위해선 해당 버전 이상이 필요하다는 오류 메시지이다. pip install tb-nightly 해당 패키지를 설치했는데도 동일한 에러가 뜬다면 conda install -c anaconda protobuf conda install future 설치를 해주면 해결이 됩니다 :) 감사합니다.

Skills/Error 2023. 9. 22. 16:31
이전 1 2 3 4 5 6 다음
이전 다음
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
TAG
  • 도커
  • 파이썬 클래스 계층 구조
  • python
  • stylegan
  • 파이썬 딕셔너리
  • 도커 컨테이너
  • support set
  • linux nano
  • style transfer
  • 구글드라이브연동
  • 리눅스
  • 리눅스 나노 사용
  • 딥러닝
  • 파이썬
  • 도커 작업
  • prompt learning
  • cs231n
  • 퓨샷러닝
  • docker
  • 파이썬 클래스 다형성
  • Unsupervised learning
  • few-shot learning
  • Prompt
  • 서버구글드라이브연동
  • 프롬프트
  • 리눅스 나노
  • clip
  • NLP
  • 리눅스 nano
  • CNN
more
«   2025/05   »
일 월 화 수 목 금 토
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
글 보관함
250x250

Blog is powered by Tistory / Designed by Tistory

티스토리툴바