주 메뉴 열기
대문
임의의 문서로
로그인
설정
Pywiki 소개
면책 조항
Pywiki
검색
바뀜
← 이전 편집
Keras:에러
(편집)
2022년 4월 12일 (화) 17:46 판
305 바이트 추가됨
,
2022년 4월 12일 (화) 17:46
→WARNING:tensorflow:Layer lstm will not use cuDNN kernels since it doesn't meet the criteria. It will use a generic GPU kernel as fallback when running on GPU.
50번째 줄:
50번째 줄:
|훈련 전에 다음의 코드를 넣는다.<syntaxhighlight lang="python">
|훈련 전에 다음의 코드를 넣는다.<syntaxhighlight lang="python">
config = tf.ConfigProto()
config = tf.ConfigProto()
+
# 2버전 부터는 경로가 바뀌었기 때문에 다음과 같이 넣자. tf.compat.v1.ConfigProto()
config.gpu_options.allow_growth = True
config.gpu_options.allow_growth = True
session = tf.Session(config=config)
session = tf.Session(config=config)
−
</syntaxhighlight>
+
# 2버전 부터는 경로가 바뀌었기 때문에 다음의 경로를 지정하자. tf.compat.v1.Session
+
</syntaxhighlight>
텐서플로우 2부턴 경로가 바뀌었기 때문에 config에 다음과 같이 넣자.
|-
|-
|메모리 할당 비율을 설정
|메모리 할당 비율을 설정
Sam
사무관
,
인터페이스 관리자
,
관리자
, 교사
편집
1,408
번