Study

2018년 6월 8일 금요일

keras gpu config session

import keras

config = tf.ConfigProto( device_count = {'GPU': 0 , 'CPU': 30} )
sess = tf.Session(config=config) 
keras.backend.set_session(sess)

model.fit(x_train, y_train, epochs=epochs, validation_data=(x_test, y_test))
작성자: jw 시간: 오전 1:19 댓글 없음:
이메일로 전송BlogThis!X에 공유Facebook에서 공유Pinterest에 공유
최근 게시물 이전 게시물 홈
피드 구독하기: 글 (Atom)

프로필

jw
전체 프로필 보기

블로그 보관함

  • ▼  2018 (26)
    • ▼  6월 (1)
      • keras gpu config session
    • ►  5월 (8)
    • ►  4월 (8)
    • ►  2월 (6)
    • ►  1월 (3)
  • ►  2017 (87)
    • ►  12월 (1)
    • ►  11월 (4)
    • ►  9월 (5)
    • ►  8월 (11)
    • ►  7월 (11)
    • ►  6월 (20)
    • ►  5월 (6)
    • ►  3월 (13)
    • ►  2월 (13)
    • ►  1월 (3)
  • ►  2016 (78)
    • ►  12월 (6)
    • ►  11월 (13)
    • ►  10월 (4)
    • ►  9월 (9)
    • ►  8월 (15)
    • ►  7월 (7)
    • ►  6월 (4)
    • ►  5월 (2)
    • ►  4월 (5)
    • ►  3월 (13)
깔끔 테마. Powered by Blogger.