# 마우스 효과 팅커벨
본문 바로가기 메뉴 바로가기

벼랑끝 바이오 매드 컴퓨터 사이언티스트

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

벼랑끝 바이오 매드 컴퓨터 사이언티스트

검색하기 폼
  • 분류 전체보기 (175)
    • Background (64)
      • Biology (9)
      • Math (42)
      • Statistics (8)
      • English (5)
    • Computer (77)
      • 백준 풀이 (7)
      • 이게 왜 안되지? (27)
      • 코딩 개꿀팁 (28)
      • 3B1B 따라잡기 with ManimLibrary (15)
    • Paper (12)
      • Bioinformatics (6)
      • CS (5)
      • LLMs (1)
    • Daily (20)
      • review (6)
      • etc (14)
  • 방명록

ImportError (1)
[이왜안?] ImportError: cannot import name 'LRScheduler' from 'torch.optim.lr_scheduler'

[원인]torch 버전과 torch를 이용한 training을 최적화해주는 lightening 라이브러리 사이의 업데이트 사이에서 변경점이 서로 충돌하는 것이 원인이라고 생각된다. torch의 lr_scheduler.py파일은 버전에 따라서 class 이름이 LRScheduler인 것도 있지만 _LRScheduler로 언더바가 붙은 버전도 배포된 것으로 생각된다. [해결법].conda/envs/{ENV_NAME}/lib/python3.8/site-packages/lightning_fabric/utilities/types.py로 들어가서 lightening의 LRScheduler import 코드에 언더바를 붙여서 저장해주면 된다.

Computer/이게 왜 안되지? 2025. 8. 7. 19:18
이전 1 다음
이전 다음
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
  • 벼랑끝 깃허브
  • 벼랑끝 강아지
TAG
  • 오일석기계학습
  • MLE
  • 이왜안
  • manim library
  • 3b1b
  • manimtutorial
  • 최대우도추정
  • antigen antibody interaction prediction
  • nanobody
  • marginal likelihood
  • 논문리뷰
  • manim
  • MorganCircularfingerprint
  • ai신약개발
  • elementry matrix
  • Matrix algebra
  • eigenvector
  • 기계학습
  • 인공지능
  • 파이썬
  • MatrixAlgebra
  • 3B1B따라잡기
  • eigenvalue
  • Manimlibrary
  • 항원항체결합예측모델
  • 나노바디
  • dataloader
  • 베이즈정리
  • 선형대수
  • 백준
more
«   2026/02   »
일 월 화 수 목 금 토
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
글 보관함

Blog is powered by Tistory / Designed by Tistory

티스토리툴바