Pei Guo
Pei Guo
@mrry Yes, it occurs without --config=cuda
Thanks for the help! But it still doesn't work. **Use 0.2.3 doesn't solve the problem. This time error message becomes:** ERROR: /scratch/peiguo/tensor-flow/tensorflow/tensorflow/core/kernels/BUILD:1267:1: undeclared inclusion(s) in rule '//tensorflow/core/kernels:batchtospace_op_gpu': this rule is...
**Now without --config=cuda:** `bazel build -c opt //tensorflow/cc:tutorials_example_trainer --crosstool_top=@bazel_tools//tools/cpp:raw-toolchain` ERROR: Loading of target '@bazel_tools//tools/cpp:raw-toolchain' failed; build aborted: no such target '@bazel_tools//tools/cpp:raw-toolchain': target 'raw-toolchain' not declared in package 'tools/cpp' defined by...
@DKP-90 No I am not on Amazon.
Thanks @damienmg , `bazel build -c opt //tensorflow/cc:tutorials_example_trainer --crosstool_top=@bazel_tools//tools/cpp:default-toolchain` works out well! But one more question, is there any solution for building with cuda support?
This is what I got from `bazel build -c opt //tensorflow/cc:tutorials_example_trainer` WARNING: /home/peiguo/.cache/bazel/_bazel_peiguo/f093626f144ca8499d84c1ae3f196d29/external/re2/WORKSPACE:1: Workspace name in /home/peiguo/.cache/bazel/_bazel_peiguo/f093626f144ca8499d84c1ae3f196d29/external/re2/WORKSPACE (@__main__) does not match the name given in the repository's definition (@re2); this...
echo | ${CC} -E -xc++ - -v -E: command not found
Using built-in specs. COLLECT_GCC=gcc Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.8.4-2ubuntu1~14.04' --with-bugurl=file:///usr/share/doc/gcc-4.8/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.8 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.8 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-libmudflap...
This time it works like magic! Thanks a lot, this problem confuses me for at least two days... Now I have built Tensorflow from source and I can do [fine-tuning...
@niuzhiheng @OpenHero It is very helpful to update to the latest version!!! Btw, can you make a tutorial about the installation requirement? Thank you!