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

后端 未结 2 426
终归单人心
终归单人心 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:33

    If you're just interested in the release version (git tag will show you all available releases), run git checkout v1.10.1 before the ./configure step. Then you can follow the official instructions without installing additional dependencies.

    Currently, a master branch build will give me the following error in Keras code that worked previously (this is after calling model.fit_generator() from the stand alone version of Keras):

    `steps_per_epoch=None` is only valid for a generator based on the `keras.utils.Sequence` class. Please specify `steps_per_epoch` or use the `keras.utils.Sequence` class.
    

    Builds based on the 1.10.1 release version of TensorFlow don't cause this error.

提交回复
热议问题