주 메뉴 열기
대문
임의의 문서로
로그인
설정
Pywiki 소개
면책 조항
Pywiki
검색
바뀜
← 이전 편집
다음 편집 →
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
번