"Keras:에러"의 두 판 사이의 차이

Pywiki
둘러보기로 가기 검색하러 가기
(새 문서: == 개요 == 케라스를 사용하다 발생하는 에러들을 모아둔 문서이다. === InternalError: stream did not block host until done; was already in an error state ===...)
 
잔글 (→‎개요)
7번째 줄: 7번째 줄:
 
=== InternalError:    Failed to call ThenRnnForward with model config: [rnn_mode, rnn_input_mode, rnn_direction_mode]: ===
 
=== InternalError:    Failed to call ThenRnnForward with model config: [rnn_mode, rnn_input_mode, rnn_direction_mode]: ===
 
아마 데이터가 너무 커서 발생하는 에러.
 
아마 데이터가 너무 커서 발생하는 에러.
 +
  
  
 
이외.. 모델이 너무 크면 커널을 죽이기도 하던데.. 이건 딱히 뜨는 에러가 없어 모르겠다;;
 
이외.. 모델이 너무 크면 커널을 죽이기도 하던데.. 이건 딱히 뜨는 에러가 없어 모르겠다;;
 +
 +
=== AttributeError: module 'keras.utils' has no attribute 'Sequence' ===
 +
에러의 원인은 모르겠다.. 버전문제인 듯한데.. 두 가지 방법이 있다.
 +
 +
# 버전이 낮은 경우 : pip install keras --upgrade
 +
# <code>keras.utils.all_utils.Sequence</code>로 불러오기. <code>from keras.utils.all_utils import Sequence</code> 형태로.
 +
 +
[[분류:Keras]]

2022년 2월 10일 (목) 10:18 판

1 개요

케라스를 사용하다 발생하는 에러들을 모아둔 문서이다.

1.1 InternalError: stream did not block host until done; was already in an error state

쥬피터노트북을 사용할 때 나오는 에러인데, 간단하다. 쥬피터노트북을 재시작하면 해결.

1.2 InternalError:    Failed to call ThenRnnForward with model config: [rnn_mode, rnn_input_mode, rnn_direction_mode]:

아마 데이터가 너무 커서 발생하는 에러.


이외.. 모델이 너무 크면 커널을 죽이기도 하던데.. 이건 딱히 뜨는 에러가 없어 모르겠다;;

1.3 AttributeError: module 'keras.utils' has no attribute 'Sequence'

에러의 원인은 모르겠다.. 버전문제인 듯한데.. 두 가지 방법이 있다.

  1. 버전이 낮은 경우 : pip install keras --upgrade
  2. keras.utils.all_utils.Sequence로 불러오기. from keras.utils.all_utils import Sequence 형태로.