golbin / TensorFlow-Tutorials

텐서플로우를 기초부터 응용까지 단계별로 연습할 수 있는 소스 코드를 제공합니다
2.13k stars 1k forks source link

#37 fixed Not found: Key <variable name> error #39

Closed graykode closed 5 years ago

graykode commented 5 years ago

안녕하세요. 3분 딥러닝 책 잘보고 있습니다! ㅎ

5-1 save 예제에서 체크포인트와 관련해서 체크포인트 저장후 다시 restore시 Not found: Key not found in checkpoint에러가 납니다.

스택오버플로우 참고해서 해결했습니다.! 다른 분들에게도 도움이 되었으면 좋겠네요.

참고로 주피터 노트북에서 발생하는 그래프 중복 문제라고 합니다.!!

colab 코드입니다.

ThereIsNoWindBag commented 4 years ago

세상에 감사합니다