TensorFlow と Keras で警告【2019/08/22, numpy-1.17.0】
問題
Python で tensorflow (あるいは keras)使おうと思ったら警告出まくった。
例:FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
解決策
調べたら numpy の最新版 (ver.1.17.0) に tensorflow (ver1.14.0) がまだ対応してないことが原因だと判明。
numpy-1.17.0 から numpy-1.16.4 にダウングレードして無事解決。
詳しい解決方法は、参考先にて。