报错内容 raise ImportError("Install keras_contrib in order to use instance normalization."
ImportError: Install keras_contrib in order to use instance normalization.
解决方案:pip install git+https://www.github.com/farizrahman4u/keras-contrib.git
报错内容:Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA
知乎大神给出的解决方案是:
1.4.0CPUUbuntu 16.045.42.7.12 pip install --ignore-installed --upgrade "https://github.com/lakshayg/tensorflow-build/raw/master/tensorflow-1.4.0-cp27-cp27mu-linux_x86_64.whl"
详见原文地址:https://zhuanlan.zhihu.com/p/33954811
这个大神的方法应该可以解决
http://www.cnblogs.com/jackchen-Net/p/8080532.html
这个问题的原因是加速CPU的运算速度,可提升3倍
解决方法是1直接忽略警告,2去tensorflow官网上下载安装
需要bazel工具进行源码安装