본문 바로가기 메뉴 바로가기

hellolog

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

hellolog

검색하기 폼
  • 분류 전체보기 (8)
    • paper (1)
    • python (5)
      • sklearn (1)
    • deep learning (2)
      • keras (1)
  • 방명록

deep learning/keras (1)
keras load_model error

keras load_model에서 compile 에러 발생 시 해결 방안 - 케라스모델은 저장할 때 컴파일 이후에 저장해야한다! 케라스 모델을 컴파일하지 않고 저장해도 자신의 컴퓨터에서는 로드가 될 수 있지만 저장한 모델 파일을 다른 컴퓨터로 옮긴 뒤 실행했을 때 문제가 발생할 수 있다. model = Model(...) model.compile(..) model.save("model.h5") 모델을 save하기 전에 반드시 컴파일하도록 한다.

deep learning/keras 2019. 6. 3. 21:30
이전 1 다음
이전 다음
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
TAG
  • Text Detection
  • OCR
  • anaconda
  • onnx-tensorflow
  • load_model
  • 모델변환
  • PYTHON
  • TensorFlow
  • onnx
  • pyplot
  • reverse string
  • scikit-learn
  • knn
  • Py_initialize
  • nearest neighbor
  • matplotlib.pyplot
  • kneighborsclassifier
  • Keras
  • Craft
  • import error
  • install
  • Slice
  • compile
  • pytorch
more
«   2025/05   »
일 월 화 수 목 금 토
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
글 보관함

Blog is powered by Tistory / Designed by Tistory

티스토리툴바