Error Compiling Tensorflow From Source - No module named 'keras_applications'

后端 未结 2 451
终归单人心
终归单人心 2021-01-19 07:19

I am attempting to build tensorflow from source with MKL optimizations on an Intel CPU setup. I have followed the official instructions here up until the command bazel

2条回答
  •  长发绾君心
    2021-01-19 07:21

    This appears to be a problem with Tensorflow 1.10 build. I recommend you check out the r1.9 branch as it builds totally fine. Either the dependency list needs to be updated or Tensorflow will fix this. If you are determined to run the r.1.10 api then run the following in terminal:

    pip install keras_applications==1.0.4 --no-deps
    pip install keras_preprocessing==1.0.2 --no-deps
    pip install h5py==2.8.0
    

提交回复
热议问题