New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build Error Windows, No results found for more than one instance of overloaded function "google::protobuf::Arena::CreateM essageInternal". #17067
Comments
Thank you for your post. We noticed you have not filled out the following field in the issue template. Could you update them if they are relevant in your case, or leave them as N/A? Thanks. |
:: - MSVC Community 2015 |
I get the same error. can you help me? OS Platform and Distribution windows8.2 msys2 |
After a few more trials, i am seeing that error 4 times, more than one instance of overloaded function "google::protobuf::Arena::CreateMessageInternal" Here is the code section from arena.h: (line 719 called out in the error message) in the first return below
C:/g/tensorflow/tensorflow/tensorflow/contrib/cmake/build/protobuf/src/protobuf/src\google/protobuf/arena.h(719): error : more than one instance of overloaded function "google::protobuf::Arena::CreateMessageInternal" matches the argument list: [C:\g\tensorflow\tensorflow\tensorflow\contrib\cmake\build\tf_core_gpu_kernels.vcxproj]
|
The four templates for CreateMessageInternal appear at 852 - 881 in arena.h. There are four argument signatures: |
File: tf_core_gpu_kernels.vcxproj code block 235-247
|
Is there conflict between bazel vesion and tensorflow c:\temp_bazel_nin\aki74rxt\execroot\org_tensorflow\external\eigen_archiv e\eigen\src/Core/ArrayWrapper.h(94): warning: __declspec attributes ignored external/protobuf_archive/src\google/protobuf/arena_impl.h(57): warning: integer conversion resulted in a change of sign external/protobuf_archive/src\google/protobuf/arena_impl.h(304): warning: intege r conversion resulted in a change of sign external/protobuf_archive/src\google/protobuf/arena_impl.h(305): warning: intege r conversion resulted in a change of sign external/protobuf_archive/src\google/protobuf/map.h(1030): warning: invalid frie nd declaration external/protobuf_archive/src\google/protobuf/map_entry_lite.h(151): warning: ex ception specification for virtual function "google::protobuf::internal::MapEntry Impl<Derived, Base, Key, Value, kKeyFieldType, kValueFieldType, default_enum_val ue>::~MapEntryImpl [with Derived=T, Base=google::protobuf::MessageLite, Key=Key, Value=Value, kKeyFieldType=kKeyFieldType, kValueFieldType=kValueFieldType, defa ult_enum_value=default_enum_value]" is incompatible with that of overridden func tion "google::protobuf::MessageLite::~MessageLite" external/protobuf_archive/src\google/protobuf/arena.h(719): error: more than one instance of overloaded function "google::protobuf::Arena::CreateMessageInternal " matches the argument list: external/protobuf_archive/src\google/protobuf/arena.h(719): error: more than one instance of overloaded function "google::protobuf::Arena::CreateMessageInternal " matches the argument list: external/protobuf_archive/src\google/protobuf/arena.h(719): error: more than one instance of overloaded function "google::protobuf::Arena::CreateMessageInternal " matches the argument list: external/protobuf_archive/src\google/protobuf/arena.h(719): error: more than one instance of overloaded function "google::protobuf::Arena::CreateMessageInternal " matches the argument list: 4 errors detected in the compilation of "C:/Users/NIN |
same error here. macOS: 10.13.2, cuda: 9.1, cudnn: 7.0.5 |
I am seeing the same error. macOS: 10.13.3, cuda: 9.1, cudnn: 7.0.5 I tried to reduce What I did to work around this issue is edit INFO: From Compiling tensorflow/contrib/image/kernels/image_ops_gpu.cu.cc: external/eigen_archive/unsupported/Eigen/CXX11/../../../Eigen/src/Core/arch/CUDA/Half.h(508): error: explicit specialization of class "std::__1::numeric_limits" must precede its first use ( (388): here) |
@dtrebbien Yes, when I build with tensorflow 1.5, same error of Eigen/src/Core/arch/CUDA/Half.h(508) |
The "explicit specialization" error is puzzling. The error message says that the explicit specialization of std::numeric_limits (for EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bool (isfinite)(const half& a) {
return !(isinf EIGEN_NOT_A_MACRO (a)) && !(isnan EIGEN_NOT_A_MACRO (a));
} I don't see how that is using |
arena.h locations and all four md5sums are different. ./tensorflow/contrib/cmake/build/grpc/src/grpc/src/core/lib/support/arena.h
|
The work around that I mentioned in a previous comment was half-baked. I have created a fork of protobuf containing all of the changes which appear to be necessary. To use this fork, I applied the following patch to --- a/tensorflow/workspace.bzl
+++ b/tensorflow/workspace.bzl
@@ -353,11 +353,11 @@ def tf_workspace(path_prefix="", tf_repo_name=""):
tf_http_archive(
name = "protobuf_archive",
urls = [
- "https://mirror.bazel.build/github.com/google/protobuf/archive/396336eb961b75f03b25824fe86cf6490fb75e3a.tar.gz",
- "https://github.com/google/protobuf/archive/396336eb961b75f03b25824fe86cf6490fb75e3a.tar.gz",
+ "https://mirror.bazel.build/github.com/dtrebbien/protobuf/archive/50f552646ba1de79e07562b41f3999fe036b4fd0.tar.gz",
+ "https://github.com/dtrebbien/protobuf/archive/50f552646ba1de79e07562b41f3999fe036b4fd0.tar.gz",
],
- sha256 = "846d907acf472ae233ec0882ef3a2d24edbbe834b80c305e867ac65a1f2c59e3",
- strip_prefix = "protobuf-396336eb961b75f03b25824fe86cf6490fb75e3a",
+ sha256 = "eb16b33431b91fe8cee479575cee8de202f3626aaf00d9bf1783c6e62b4ffbc7",
+ strip_prefix = "protobuf-50f552646ba1de79e07562b41f3999fe036b4fd0",
)
# We need to import the protobuf library under the names com_google_protobuf |
I have created a pull request for eigen/eigen to fix the "explicit specialization of class "std::__1::numeric_limits" must precede its first use" error: https://bitbucket.org/eigen/eigen/pull-requests/369/ To use the patched eigen, I applied the following patch to --- a/tensorflow/workspace.bzl
+++ b/tensorflow/workspace.bzl
@@ -120,11 +120,11 @@ def tf_workspace(path_prefix="", tf_repo_name=""):
tf_http_archive(
name = "eigen_archive",
urls = [
- "https://mirror.bazel.build/bitbucket.org/eigen/eigen/get/2355b229ea4c.tar.gz",
- "https://bitbucket.org/eigen/eigen/get/2355b229ea4c.tar.gz",
+ "https://mirror.bazel.build/bitbucket.org/dtrebbien/eigen/get/374842a18727.tar.gz",
+ "https://bitbucket.org/dtrebbien/eigen/get/374842a18727.tar.gz",
],
- sha256 = "0cadb31a35b514bf2dfd6b5d38205da94ef326ec6908fc3fd7c269948467214f",
- strip_prefix = "eigen-eigen-2355b229ea4c",
+ sha256 = "fa26e9b9ff3a2692b092d154685ec88d6cb84d4e1e895006541aff8603f15c16",
+ strip_prefix = "dtrebbien-eigen-374842a18727",
build_file = str(Label("//third_party:eigen.BUILD")),
)
|
I am encountering another error [958 / 973] Compiling tensorflow/core/kernels/conv_ops_3d.cc; 38028s local ... (4 actions running) |
Does dtrebbien's fix work for you? |
Thank you, @dtrebbien. This helped me a lot, even on Mac OS 10.13.3, tensorflow v1.6. I'm using CUDA 9.1 with cudnn 7. |
Hi @dtrebbien and @tralpha, how to solve the @rpath problem?
I'm using CUDA 9.1, cudnn 7 and Xcode 9.2 on MacOS 13.3.3. |
Do you mean something like: dyld: Library not loaded: @rpath/libcudart.9.1.dylib Take a look at this Stack Overflow answer: https://stackoverflow.com/a/40007947/196844 |
Hi @dtrebbien I'm having a little trouble with applying the two patches you posted and build. I get the following error I was able to pull down the tars from github and the checksums match. Any ideas? What commit ID did you build off of? Appreciate the help, it's not to see others trying to get GPU support on Mac :) edited this, looks like I have a mis-configured proxy setting for the jdk. |
I built off of TensorFlow commit 00ff491 with a few cherry-picked commits and local changes. Just now, I have committed my local changes and pushed this as a new branch to my fork; see https://github.com/dtrebbien/tensorflow/tree/tensorflow-17067-reference-branch To use this branch: git remote add dtrebbien-fork https://github.com/dtrebbien/tensorflow.git
git fetch dtrebbien-fork
git checkout -b tensorflow-17067-reference-branch dtrebbien-fork/tensorflow-17067-reference-branch I am not sure that dtrebbien@993006fa764bbdecfee63f4ceead3d06a2821ce2 is needed; I merged it speculatively. Here are the configure and build commands that I used: PYTHON_BIN_PATH=/usr/local/bin/python2 \
USE_DEFAULT_PYTHON_LIB_PATH=1 \
TF_NEED_GCP=0 \
TF_NEED_HDFS=0 \
TF_NEED_S3=0 \
TF_NEED_KAFKA=0 \
TF_ENABLE_XLA=0 \
TF_NEED_GDR=0 \
TF_NEED_VERBS=0 \
TF_NEED_OPENCL_SYCL=0 \
TF_NEED_CUDA=1 \
TF_CUDA_VERSION=9.1 \
USE_DEFAULT_CUDA_TOOLKIT_PATH=1 \
TF_CUDNN_VERSION=7.0.5 \
USE_DEFAULT_CUDNN_INSTALL_PATH=1 \
TF_CUDA_COMPUTE_CAPABILITIES=3.0 \
TF_CUDA_CLANG=0 \
USE_DEFAULT_GCC_HOST_COMPILER_PATH=1 \
TF_NEED_MPI=0 \
USE_DEFAULT_CC_OPT_FLAGS=1 \
TF_SET_ANDROID_WORKSPACE=0 \
./configure
bazel build --config=opt --config=cuda --save_temps --explain=explain.txt --verbose_explanations --verbose_failures --linkopt=-Wl,-rpath,/usr/local/cuda/lib //tensorflow/tools/pip_package:build_pip_package Note that I am building using Homebrew's Python 2. Also, I am running macOS 10.13.3 and Xcode 9.2. You might see an error saying something like My MacBook Pro has an NVIDIA GeForce GT 750M, which is CUDA compute capability 3.0. You might need to adjust the Disclaimer: I do not know if the binary produced by following these steps is stable. I have observed a SEGFAULT issue with my build, but I do not know if this is specific to my build or if this is a bug in TensorFlow: #9518 (comment) |
I just updated Homebrew and noticed that the 'python' formula is now Python 3, 'python2' is now Python 2, and the location of Homebrew Python 2 binaries is |
@dtrebbien I do the tricks from SO but doesn't work, so I proceed with symbolic links in For the last version
After all, I could compile and and test the TF with GPU is loaded. But with some real tranning I have a SEGFAULT issue. The dumps doesn´t show any glue about the problem. |
Are you able to run any TensorFlow code, or does everything segfault? I am not using the work around of removing |
@dtrebbien I could run some initial steps, but I couldn't run any real code. When the TF load data to GPU they show the SEGFAULT message and abort the run, even with simple computations on tensors. P.S. Next week I will try the |
Last Updates @dtrebbien :
During the compile, I saw this message:
Loading results in these messages
with a simple example
results
No more SEGFAULT ! |
Trying to run mnist_mlp.py I get a SEGFAULT. to get some more information I run
See attached err_mnist.txt. |
Hello @marcionicolau Trying out Thread 26 Crashed: 0 libtensorflow_framework.so 0x0000000102959c10 void tensorflow::gtl::InlinedVector::emplace_back(tensorflow::EventMgr::InUse const&&&) + 176 1 libtensorflow_framework.so 0x000000010295902c tensorflow::EventMgr::PollEvents(bool, tensorflow::gtl::InlinedVector*) + 412 2 libtensorflow_framework.so 0x00000001028f4022 tensorflow::EventMgr::ThenExecute(perftools::gputools::Stream*, std::__1::function) + 194 3 libtensorflow_framework.so 0x00000001028f4bad tensorflow::GPUUtil::CopyCPUTensorToGPU(tensorflow::Tensor const*, tensorflow::DeviceContext const*, tensorflow::Device*, tensorflow::Tensor*, std::__1::function) + 797 4 libtensorflow_framework.so 0x00000001028f6a05 tensorflow::GPUDeviceContext::CopyCPUTensorToDevice(tensorflow::Tensor const*, tensorflow::Device*, tensorflow::Tensor*, std::__1::function) const + 117 5 libtensorflow_framework.so 0x00000001029098b5 tensorflow::(anonymous namespace)::CopyHostToDevice(tensorflow::Tensor const*, tensorflow::Allocator*, tensorflow::Allocator*, tensorflow::StringPiece, tensorflow::Device*, tensorflow::Tensor*, tensorflow::DeviceContext*, std::__1::function) + 437 6 libtensorflow_framework.so 0x0000000102908b58 tensorflow::CopyTensor::ViaDMA(tensorflow::StringPiece, tensorflow::DeviceContext*, tensorflow::DeviceContext*, tensorflow::Device*, tensorflow::Device*, tensorflow::AllocatorAttributes, tensorflow::AllocatorAttributes, tensorflow::Tensor const*, tensorflow::Tensor*, std::__1::function) + 3592 7 libtensorflow_framework.so 0x0000000102942dbe tensorflow::IntraProcessRendezvous::SameWorkerRecvDone(tensorflow::Rendezvous::ParsedKey const&, tensorflow::Rendezvous::Args const&, tensorflow::Rendezvous::Args const&, tensorflow::Tensor const&, tensorflow::Tensor*, std::__1::function) + 1102 8 libtensorflow_framework.so 0x000000010294385d std::__1::__function::__func)::$_0, std::__1::allocator)::$_0>, void (tensorflow::Status const&, tensorflow::Rendezvous::Args const&, tensorflow::Rendezvous::Args const&, tensorflow::Tensor const&, bool)>::operator()(tensorflow::Status const&, tensorflow::Rendezvous::Args const&, tensorflow::Rendezvous::Args const&, tensorflow::Tensor const&, bool&&) + 813 9 libtensorflow_framework.so 0x000000010244e003 tensorflow::LocalRendezvousImpl::RecvAsync(tensorflow::Rendezvous::ParsedKey const&, tensorflow::Rendezvous::Args const&, std::__1::function) + 883 10 libtensorflow_framework.so 0x000000010294311f tensorflow::IntraProcessRendezvous::RecvAsync(tensorflow::Rendezvous::ParsedKey const&, tensorflow::Rendezvous::Args const&, std::__1::function) + 799 11 _pywrap_tensorflow_internal.so 0x000000010b1a40a9 tensorflow::RecvOp::ComputeAsync(tensorflow::OpKernelContext*, std::__1::function) + 1145 12 libtensorflow_framework.so 0x00000001028ea458 tensorflow::BaseGPUDevice::ComputeAsync(tensorflow::AsyncOpKernel*, tensorflow::OpKernelContext*, std::__1::function) + 872 13 libtensorflow_framework.so 0x0000000102918202 tensorflow::(anonymous namespace)::ExecutorState::Process(tensorflow::(anonymous namespace)::ExecutorState::TaggedNode, long long) + 4338 14 libtensorflow_framework.so 0x000000010292210a std::__1::__function::__func, std::__1::allocator >, void ()>::operator()() + 58 15 libtensorflow_framework.so 0x000000010255bdff Eigen::NonBlockingThreadPoolTempl::WorkerLoop(int) + 2047 16 libtensorflow_framework.so 0x000000010255b4ff std::__1::__function::__func)::'lambda'(), std::__1::allocator)::'lambda'()>, void ()>::operator()() + 47 17 libtensorflow_framework.so 0x00000001025808a0 void* std::__1::__thread_proxy >, std::__1::function > >(void*) + 48 18 libsystem_pthread.dylib 0x00007fff53e376c1 _pthread_body + 340 19 libsystem_pthread.dylib 0x00007fff53e3756d _pthread_start + 377 20 libsystem_pthread.dylib 0x00007fff53e36c5d thread_start + 13 This appears similar to the other SEGFAULT issue that I have observed. There, the SEGFAULT occurs within CopyGPUTensorToCPU(). Here, the SEGFAULT occurs within CopyCPUTensorToGPU(). |
This fixes a compilation error seen when building TensorFlow on macOS: tensorflow/tensorflow#17067
It has been 14 days with no activity and the |
I believe @dtrebbien has removed his repo. If you need a protobuf version that will compile, use mine: tf_http_archive(
name = "protobuf_archive",
urls = [
- "https://mirror.bazel.build/github.com/google/protobuf/archive/396336eb961b75f03b25824fe86cf6490fb75e3a.tar.gz",
- "https://github.com/google/protobuf/archive/396336eb961b75f03b25824fe86cf6490fb75e3a.tar.gz",
+ "https://mirror.bazel.build/github.com/dinever/protobuf/archive/188578878eff18c2148baba0e116d87ce8f49410.tar.gz",
+ "https://github.com/dinever/protobuf/archive/188578878eff18c2148baba0e116d87ce8f49410.tar.gz",
],
- sha256 = "846d907acf472ae233ec0882ef3a2d24edbbe834b80c305e867ac65a1f2c59e3",
- strip_prefix = "protobuf-396336eb961b75f03b25824fe86cf6490fb75e3a",
+ sha256 = "7a1d96ccdf7131535828cad737a76fd65ed766e9511e468d0daa3cc4f3db5175",
+ strip_prefix = "protobuf-188578878eff18c2148baba0e116d87ce8f49410",
) |
I have got the following error after replacing the tf_http_archive you posted. error: patch failed: tensorflow/core/common_runtime/gpu/gpu_device.cc:920 |
This fixes a compilation error seen when building TensorFlow on macOS: tensorflow/tensorflow#17067
@cc112358 have you solve the errors at the end? |
No results found for more than one instance of overloaded function "google::protobuf::Arena::CreateM essageInternal".
:: - MSVC Community 2015
:: - ANACONDA 4.4.4 (Python 3.5.5)
:: - CMake 3.10.2
:: - SWIG 3.0.12
:: - GIT 2.15.1.windows.2
:: - NVIDIA CUDA 9.1, CUDNN 7.05
TensorFlow pulled from git repo on 2/12/2018
C:/g/tensorflow/tensorflow/tensorflow/contrib/cmake/build/protobuf/src/protobuf/src\google/protobuf/arena.h(719): error : more than one instance of overloaded function "google::protobuf::Arena::CreateM
essageInternal" matches the argument list: [C:\g\tensorflow\tensorflow\tensorflow\contrib\cmake\build\tf_core_gpu_kernels.vcxproj]
function template "T *google::protobuf::Arena::CreateMessageInternal(google::protobuf::Arena *)"
function template "T *google::protobuf::Arena::CreateMessageInternal<T,Args...>(Args &&...)"
argument types are: (google::protobuf::Arena *)
detected during:
instantiation of "Msg *google::protobuf::Arena::CreateMaybeMessage(google::protobuf::Arena *, google::protobuf::internal::true_type) [with Msg=tensorflow::TensorShapeProto_Dim]"
(729): here
instantiation of "T *google::protobuf::Arena::CreateMaybeMessage(google::protobuf::Arena *) [with T=tensorflow::TensorShapeProto_Dim]"
C:/g/tensorflow/tensorflow/tensorflow/contrib/cmake/build/protobuf/src/protobuf/src\google/protobuf/repeated_field.h(648): here
instantiation of "GenericType *google::protobuf::internal::GenericTypeHandler::New(google::protobuf::Arena *) [with GenericType=tensorflow::TensorShapeProto_Dim]"
C:/g/tensorflow/tensorflow/tensorflow/contrib/cmake/build/protobuf/src/protobuf/src\google/protobuf/repeated_field.h(675): here
instantiation of "GenericType *google::protobuf::internal::GenericTypeHandler::NewFromPrototype(const GenericType *, google::protobuf::Arena *) [with GenericType=tensorflow::
TensorShapeProto_Dim]"
C:/g/tensorflow/tensorflow/tensorflow/contrib/cmake/build/protobuf/src/protobuf/src\google/protobuf/repeated_field.h(1554): here
instantiation of "TypeHandler::Type *google::protobuf::internal::RepeatedPtrFieldBase::Add(TypeHandler::Type *) [with TypeHandler=google::protobuf::RepeatedPtrField::TypeHandler]"
C:/g/tensorflow/tensorflow/tensorflow/contrib/cmake/build/protobuf/src/protobuf/src\google/protobuf/repeated_field.h(2001): here
instantiation of "Element *google::protobuf::RepeatedPtrField::Add() [with Element=tensorflow::TensorShapeProto_Dim]"
C:/g/tensorflow/tensorflow/tensorflow/contrib/cmake/build\tensorflow/core/framework/tensor_shape.pb.h(471): here
C:/g/tensorflow/tensorflow/tensorflow/contrib/cmake/build/protobuf/src/protobuf/src\google/protobuf/arena.h(719): error : more than one instance of overloaded function "google::protobuf::Arena::CreateM
essageInternal" matches the argument list: [C:\g\tensorflow\tensorflow\tensorflow\contrib\cmake\build\tf_core_gpu_kernels.vcxproj]
function template "T *google::protobuf::Arena::CreateMessageInternal(google::protobuf::Arena *)"
function template "T *google::protobuf::Arena::CreateMessageInternal<T,Args...>(Args &&...)"
cwise_op_bitwise_and.cc
argument types are: (google::protobuf::Arena *)
detected during:
instantiation of "Msg *google::protobuf::Arena::CreateMaybeMessage(google::protobuf::Arena *, google::protobuf::internal::true_type) [with Msg=tensorflow::ResourceHandleProto]"
(729): here
instantiation of "T *google::protobuf::Arena::CreateMaybeMessage(google::protobuf::Arena *) [with T=tensorflow::ResourceHandleProto]"
C:/g/tensorflow/tensorflow/tensorflow/contrib/cmake/build/protobuf/src/protobuf/src\google/protobuf/repeated_field.h(648): here
instantiation of "GenericType *google::protobuf::internal::GenericTypeHandler::New(google::protobuf::Arena *) [with GenericType=tensorflow::ResourceHandleProto]"
C:/g/tensorflow/tensorflow/tensorflow/contrib/cmake/build/protobuf/src/protobuf/src\google/protobuf/repeated_field.h(675): here
instantiation of "GenericType *google::protobuf::internal::GenericTypeHandler::NewFromPrototype(const GenericType *, google::protobuf::Arena *) [with GenericType=tensorflow::
ResourceHandleProto]"
C:/g/tensorflow/tensorflow/tensorflow/contrib/cmake/build/protobuf/src/protobuf/src\google/protobuf/repeated_field.h(1554): here
instantiation of "TypeHandler::Type *google::protobuf::internal::RepeatedPtrFieldBase::Add(TypeHandler::Type *) [with TypeHandler=google::protobuf::RepeatedPtrField::TypeHandler]"
C:/g/tensorflow/tensorflow/tensorflow/contrib/cmake/build/protobuf/src/protobuf/src\google/protobuf/repeated_field.h(2001): here
instantiation of "Element *google::protobuf::RepeatedPtrField::Add() [with Element=tensorflow::ResourceHandleProto]"
C:/g/tensorflow/tensorflow/tensorflow/contrib/cmake/build\tensorflow/core/framework/tensor.pb.h(1091): here
C:/g/tensorflow/tensorflow/tensorflow/contrib/cmake/build/protobuf/src/protobuf/src\google/protobuf/arena.h(719): error : more than one instance of overloaded function "google::protobuf::Arena::CreateM
essageInternal" matches the argument list: [C:\g\tensorflow\tensorflow\tensorflow\contrib\cmake\build\tf_core_gpu_kernels.vcxproj]
function template "T *google::protobuf::Arena::CreateMessageInternal(google::protobuf::Arena *)"
function template "T *google::protobuf::Arena::CreateMessageInternal<T,Args...>(Args &&...)"
argument types are: (google::protobuf::Arena *)
detected during:
instantiation of "Msg *google::protobuf::Arena::CreateMaybeMessage(google::protobuf::Arena *, google::protobuf::internal::true_type) [with Msg=tensorflow::VariantTensorDataProto]"
(729): here
instantiation of "T *google::protobuf::Arena::CreateMaybeMessage(google::protobuf::Arena *) [with T=tensorflow::VariantTensorDataProto]"
C:/g/tensorflow/tensorflow/tensorflow/contrib/cmake/build/protobuf/src/protobuf/src\google/protobuf/repeated_field.h(648): here
instantiation of "GenericType *google::protobuf::internal::GenericTypeHandler::New(google::protobuf::Arena *) [with GenericType=tensorflow::VariantTensorDataProto]"
C:/g/tensorflow/tensorflow/tensorflow/contrib/cmake/build/protobuf/src/protobuf/src\google/protobuf/repeated_field.h(675): here
instantiation of "GenericType *google::protobuf::internal::GenericTypeHandler::NewFromPrototype(const GenericType *, google::protobuf::Arena *) [with GenericType=tensorflow::
VariantTensorDataProto]"
C:/g/tensorflow/tensorflow/tensorflow/contrib/cmake/build/protobuf/src/protobuf/src\google/protobuf/repeated_field.h(1554): here
instantiation of "TypeHandler::Type *google::protobuf::internal::RepeatedPtrFieldBase::Add(TypeHandler::Type *) [with TypeHandler=google::protobuf::RepeatedPtrField::TypeHandler]"
C:/g/tensorflow/tensorflow/tensorflow/contrib/cmake/build/protobuf/src/protobuf/src\google/protobuf/repeated_field.h(2001): here
instantiation of "Element *google::protobuf::RepeatedPtrField::Add() [with Element=tensorflow::VariantTensorDataProto]"
C:/g/tensorflow/tensorflow/tensorflow/contrib/cmake/build\tensorflow/core/framework/tensor.pb.h(1121): here
C:/g/tensorflow/tensorflow/tensorflow/contrib/cmake/build/protobuf/src/protobuf/src\google/protobuf/arena.h(719): error : more than one instance of overloaded function "google::protobuf::Arena::CreateM
essageInternal" matches the argument list: [C:\g\tensorflow\tensorflow\tensorflow\contrib\cmake\build\tf_core_gpu_kernels.vcxproj]
function template "T *google::protobuf::Arena::CreateMessageInternal(google::protobuf::Arena *)"
function template "T *google::protobuf::Arena::CreateMessageInternal<T,Args...>(Args &&...)"
argument types are: (google::protobuf::Arena *)
detected during:
instantiation of "Msg *google::protobuf::Arena::CreateMaybeMessage(google::protobuf::Arena *, google::protobuf::internal::true_type) [with Msg=tensorflow::TensorProto]"
(729): here
instantiation of "T *google::protobuf::Arena::CreateMaybeMessage(google::protobuf::Arena *) [with T=tensorflow::TensorProto]"
C:/g/tensorflow/tensorflow/tensorflow/contrib/cmake/build/protobuf/src/protobuf/src\google/protobuf/repeated_field.h(648): here
instantiation of "GenericType *google::protobuf::internal::GenericTypeHandler::New(google::protobuf::Arena *) [with GenericType=tensorflow::TensorProto]"
C:/g/tensorflow/tensorflow/tensorflow/contrib/cmake/build/protobuf/src/protobuf/src\google/protobuf/repeated_field.h(675): here
instantiation of "GenericType *google::protobuf::internal::GenericTypeHandler::NewFromPrototype(const GenericType *, google::protobuf::Arena *) [with GenericType=tensorflow::
TensorProto]"
C:/g/tensorflow/tensorflow/tensorflow/contrib/cmake/build/protobuf/src/protobuf/src\google/protobuf/repeated_field.h(1554): here
instantiation of "TypeHandler::Type *google::protobuf::internal::RepeatedPtrFieldBase::Add(TypeHandler::Type *) [with TypeHandler=google::protobuf::RepeatedPtrField::TypeHandler]"
C:/g/tensorflow/tensorflow/tensorflow/contrib/cmake/build/protobuf/src/protobuf/src\google/protobuf/repeated_field.h(2001): here
instantiation of "Element *google::protobuf::RepeatedPtrField::Add() [with Element=tensorflow::TensorProto]"
C:/g/tensorflow/tensorflow/tensorflow/contrib/cmake/build\tensorflow/core/framework/tensor.pb.h(1365): here
4 errors detected in the compilation of "C:/Users/user/AppData/Local/Temp/tmpxft_0002aa34_00000000-12_adjust_contrast_op_gpu.cu.compute_52.cpp1.ii".
The text was updated successfully, but these errors were encountered: