Tensorflowのインストール中に発生した問題
1930 ワード
1.WARNING:The h5py issue(introduced with numpy 1.14.)
解決策1:無視.強迫症があれば冒頭に2と書きます.
ソリューション2:numpyのダウングレード
参照:stackoverflow
2.WARNING:pip 3 install tensorflowで汎用バージョンをインストールします.ただし、コマンドセットが異なり、異なるコンパイルが必要です.
ソリューション:Pythonバージョンとgccに基づいて、対応するtensorflowバージョンを選択します.ダウンロード:GitHub
/home/user/bin/conda3/lib/python3.6/site-packages/h5py/__init__.py:34: FutureWarning: Conversion of the second argument of issubdtype from float to np.floating is deprecated. In future, it will be treated as np.float64 == np.dtype(float).type. from ._conv import register_converters as _register_converters
解決策1:無視.強迫症があれば冒頭に2と書きます.
import os
os.environ["TF_CPP_MIN_LOG_LEVEL"]='1' # ,
os.environ["TF_CPP_MIN_LOG_LEVEL"]='2' # warning Error
os.environ["TF_CPP_MIN_LOG_LEVEL"]='3' # Error
ソリューション2:numpyのダウングレード
pip install numpy==1.13.0
参照:stackoverflow
2.WARNING:pip 3 install tensorflowで汎用バージョンをインストールします.ただし、コマンドセットが異なり、異なるコンパイルが必要です.
I tensorflow/core/platform/cpu_feature_guard.cc:137] Your CPU supports instructions that this TensorFlow binary was not compiled to use: SSE4.1 SSE4.2 AVX AVX2 FMA
ソリューション:Pythonバージョンとgccに基づいて、対応するtensorflowバージョンを選択します.ダウンロード:GitHub