tensorflow-windows-wheel
tensorflow-windows-wheel copied to clipboard
how to use tf1.14 c++?
I build tf1.14 c++ dll&lib&include with bazel,but not work correctly.
follow the steps on official website,then:
bazel build --config=opt --config=cuda --define=no_tensorflow_py_deps=true //tensorflow:tensorflow_cc.dll
bazel build --config=opt --config=cuda --define=no_tensorflow_py_deps=true //tensorflow:tensorflow_cc.lib
bazel build --config=opt --config=cuda --define=no_tensorflow_py_deps=true //tensorflow:install_headers
hope,I can get all we need.
Now it don't work,the lib files are wrong with GPU support ,I try only cpu.
The c++ demo can run with bazel :
bazel build --config=opt --config=cuda --define=no_tensorflow_py_deps=true tensorflow/examples/label_image/...
it will take few hours, then rename file"label_image" to "label_image.exe" in "bazel-bin\tensorflow\examples\label_image"
run:
bazel-bin\tensorflow\examples\label_image\label_image.exe
but I can't use bazel,I just want use vs.