https://tensorflow.github.io/serving/
->
https://tensorflow.github.io/serving/docker
->
https://tensorflow.github.io/serving/serving_basic
Download Dockerfile.devel
docker build --pull -t zaxrok/tensorflow-serving-devel -f Dockerfile.devel .
docker run -it zaxrok/tensorflow-serving-devel
git clone --recurse-submodules https://github.com/tensorflow/serving
cd serving/tensorflow
./configure
cd ..
bazel test tensorflow_serving/...
.. error
bazel build -c opt --jobs 1 --local_resources 2048,0.5,1.0 --verbose_failures tensorflow_serving/...
INFO: Elapsed time: 11026.956s, Critical Path: 41.09s
많은 시간이 걸리니 어디 갔다 오시길
bazel build -c opt //tensorflow_serving/example:mnist_saved_model
bazel-bin/tensorflow_serving/example/mnist_saved_model /tmp/mnist_model
Exporting trained model to /tmp/mnist_model/1
Done exporting!
댓글 없음:
댓글 쓰기