日々精進

新しく学んだことを書き留めていきます

keras/Tensor flowで学習処理を実行すると「tensorflow.python.framework.errors_impl.InvalidArgumentError: You must feed a value for placeholder tensor 'input_3' with dtype float and shape [?,299,299,3]」エラー

原因というか、何が悪いかはよく分からないがTensorBoardの引数の histogram_freq=1histogram_freq=0 にすると直った。 TensorBoardかTensor flowかKerasのバグかな。。 エラーメッセージからこの解決策に全然たどり着けず、結構ハマッた。。 以下のIssueで現象は報告されているのでいずれは解消されそうだけどしばらくはこの回避策が必要っぽい。

github.com