tips:keras

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
tips:keras [2019/12/10 20:34] – [tensorflow] scipiotips:keras [2019/12/17 15:48] (current) – [tensorflow] scipio
Line 6: Line 6:
  
 <code> <code>
-pip install -U --user pip six numpy wheel setuptools mock +pip install -U pip six numpy wheel setuptools mock 
-pip install -U --user keras_applications --no-deps +pip install -U keras_applications --no-deps 
-pip install -U --user keras_preprocessing --no-deps+pip install -U keras_preprocessing --no-deps
  
 +# tf 2
 git clone https://github.com/tensorflow/tensorflow.git git clone https://github.com/tensorflow/tensorflow.git
 cd tensorflow cd tensorflow
 +
 +# tf 1.15
 +wget https://github.com/tensorflow/tensorflow/archive/v1.15.0.tar.gz
 +tar zxvf v1.15.0.tar.gz
 </code> </code>
  
Line 20: Line 25:
 </code> </code>
  
-edit configure.py and modify  _TF_MAX_BAZEL_VERSION = '1.2.1' 
 <code> <code>
 +export TF_IGNORE_MAX_BAZEL_VERSION=1
 export TF_NEED_CUDA=1 export TF_NEED_CUDA=1
 ./configure ./configure
Line 56: Line 61:
 compile compile
 <code> <code>
 +bazel build //tensorflow/tools/pip_package:build_pip_package
 +
 +# ???
 bazelisk \ bazelisk \
     build --config=opt \     build --config=opt \
  • tips/keras.1576006475.txt.gz
  • Last modified: 2019/12/10 20:34
  • by scipio