deep-learning-tensorflow-book-code icon indicating copy to clipboard operation
deep-learning-tensorflow-book-code copied to clipboard

ValueError: Cannot feed value of shape (0,) for Tensor 'input_image:0', which has shape '(?, 224, 224, 3)'에러 해결이 안됩니다

Open lgw9705 opened this issue 5 years ago • 0 comments

"/" 를 "\" 로 바꾸는 작업을 완료 했는데도 에러가 계속 발생합니다. Traceback (most recent call last): File "FCN.py", line 231, in tf.app.run() File "C:\Users\user\anaconda3\envs\FCN\lib\site-packages\tensorflow\python\platform\app.py", line 126, in run _sys.exit(main(argv)) File "FCN.py", line 199, in main sess.run(train_op, feed_dict=feed_dict) File "C:\Users\user\anaconda3\envs\FCN\lib\site-packages\tensorflow\python\client\session.py", line 905, in run run_metadata_ptr) File "C:\Users\user\anaconda3\envs\FCN\lib\site-packages\tensorflow\python\client\session.py", line 1116, in _run str(subfeed_t.get_shape()))) ValueError: Cannot feed value of shape (0,) for Tensor 'input_image:0', which has shape '(?, 224, 224, 3)'

그리고 이러한 에러도 발생하는데 혹시 버전이 안맞아서 그런건가요? 2020-11-02 10:04:31.049834: E T:\src\github\tensorflow\tensorflow\core\util\events_writer.cc:104] Write failed because file could not be opened.

lgw9705 avatar Nov 02 '20 01:11 lgw9705