바뀜

둘러보기로 가기 검색하러 가기
131 바이트 추가됨 ,  2022년 2월 17일 (목) 16:20
잔글
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]]

둘러보기 메뉴