golbin / TensorFlow-Tutorials

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

Inception Predict.py 오류나는데요... #35

Open carrotzzang opened 6 years ago

carrotzzang commented 6 years ago

TypeError: Cannot interpret feed_dict key as Tensor: The name 'DecodeJpeg/contents:0' refers to a Tensor which does not exist. The operation, 'DecodeJpeg/contents', does not exist in the graph

이렇게 오류가 납니다. 이래저래 이슈를 찾아보니 google에서 retrain.py를 바꾸면서 'DecodeJpeg/contents:0' 플레이스홀더를 없앴다고 한것 같기도 하고...;;;

어떻게 수정해야하나요? 초보자가 따라하려니 매우 어렵네요. 도와주세요.

complexhhs commented 5 years ago

저도 같은 문제를 겪고 있는데요. 해결책이 아닌 허탈한 링크를 보내드리게 되네요.

stackoverflow에서 답변으로 google이 업데이트를 하는 과정 중 retain.py에 있는 부분서 DecodeJpeg를 날려버렸다고 합니다. 그래서 feed_dict가 안된다고하네요.

https://stackoverflow.com/questions/45660439/the-name-decodejpeg-contents0-refers-to-a-tensor-which-does-not-exist

karenkkkk commented 5 years ago

저도 같은 문제를 겪고 있는데요. 해결책이 아닌 허탈한 링크를 보내드리게 되네요.

stackoverflow에서 답변으로 google이 업데이트를 하는 과정 중 retain.py에 있는 부분서 DecodeJpeg를 날려버렸다고 합니다. 그래서 feed_dict가 안된다고하네요.

https://stackoverflow.com/questions/45660439/the-name-decodejpeg-contents0-refers-to-a-tensor-which-does-not-exist

앗... 그렇다면 현재 Inception은 feed_dict 문제로 실행이 불가능하다고 보면 될까요?