본문 바로가기

핀아의 저장소 ( •̀ ω •́ )✧

검색하기
핀아의 저장소 ( •̀ ω •́ )✧
프로필사진 _핀아_

  • 분류 전체보기 (99)
    • Big Data (43)
      • ML & DL (6)
      • Engineering (21)
      • 데이터 분석 (16)
    • Computer Science (50)
      • Python (2)
      • Linux (2)
      • Tools (1)
      • 자료구조 (8)
      • 코딩테스트_Python (37)
    • Code & Issues (4)
      • Code (1)
      • Issue (3)
Guestbook
Notice
  • 안녕하세요
Recent Posts
Recent Comments
Link
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록pyTorch (1)

핀아의 저장소 ( •̀ ω •́ )✧

[CRAFT-pytorch] ImportError: cannot import name 'model_urls' from 'torchvision.models.vgg'

OCR 모델을 위한 환경 셋팅 중 직면한 문제. 원인은 torchvision 버전이 업그레이드가 되면서 'model_urls'가 사라졌다. 따라서 해결 방법은 간단하다. 'model_urls' 부분을 삭제해주는 것! 1. vgg16_bn.py에 들어간다. 2. 'model_urls' 부분을 삭제한다. from torchvision import models from torchvision.models.vgg import model_urls

Code & Issues/Issue 2023. 8. 16. 11:46
이전 Prev 1 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바