바뀜
둘러보기로 가기
검색하러 가기
← 이전 편집
다음 편집 →
Keras:에러
(편집)
2022년 2월 17일 (목) 16:20 판
131 바이트 추가됨
,
2022년 2월 17일 (목) 16:20
잔글
→AttributeError: module 'keras.utils' has no attribute 'Sequence'
13번째 줄:
13번째 줄:
=== AttributeError: module 'keras.utils' has no attribute 'Sequence' ===
=== AttributeError: module 'keras.utils' has no attribute 'Sequence' ===
−
에러의 원인은 모르겠다.. 버전문제인 듯한데.. 두 가지 방법이 있다.
+
제너레이터를 사용하기 위해 Sequence를 불러올 때, <code>keras.utils.Sequence</code>로 불러오는데...
에러의 원인은 모르겠다.. 버전문제인 듯한데.. 두 가지 방법이 있다.
−
# 버전이 낮은 경우 : pip install keras --upgrade
# 버전이 낮은 경우 : pip install keras --upgrade
−
# <code>keras.utils.all_utils.Sequence</code>로 불러오기. <code>from keras.utils.all_utils import Sequence</code> 형태로.
+
# <code>keras.utils.all_utils.Sequence</code>로 불러오기. <code>from keras.utils.all_utils import Sequence</code> 형태로
부르기
.
[[분류:Keras]]
[[분류:Keras]]
Sam
사무관
,
인터페이스 관리자
,
관리자
, 교사
편집
1,408
번
둘러보기 메뉴
개인 도구
로그인하지 않음
토론
기여
계정 만들기
로그인
이름공간
문서
토론
변수
보기
읽기
편집
원본 편집
역사 보기
더 보기
검색
둘러보기
대문
최근 바뀜
임의의 문서로
미디어위키 도움말
도구
특수 문서 목록
인쇄용 판