Skip to content
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

Make.sh: Protoc error #114

Open
LennardBo opened this issue Aug 27, 2020 · 0 comments
Open

Make.sh: Protoc error #114

LennardBo opened this issue Aug 27, 2020 · 0 comments

Comments

@LennardBo
Copy link

LennardBo commented Aug 27, 2020

After crawling through a variety of other errors, I now face issues due to what appears to be an incompatibility with protoc/protobuf, also the list of errors is long enough for me to lose track.
My protoc version is 3.13.0, I've tried gcc versions 7.4.0 and 5.4.0 and my tensorflow version is 2.1.0. I've also tried out an older version of tensorFlow to combat the issue in #17 , but that just made more problem so I ended up compling nlopt from scratch.
Any help would be appreciated, please excuse my lacking knowledge in the compling area.

I wanted to attach the error logfile but github wouldn't let me, so here it is the start and end of the much bigger log file:

Loading nccl/2.3.7_cuda9.2
  Loading requirement: cuda/9.2.0
/home/bol7tue/.conda/envs/tfenv/lib/python3.7/site-packages/tensorflow_core/include
hard_label_layer
gradient_reversal_layer
/home/bol7tue/.conda/envs/tfenv/lib/python3.7/site-packages/tensorflow_core/include/tensorflow/core/platform/env.h(356): warning: overloaded virtual function "tensorflow::Env::RegisterFileSystem" is only partially overridden in class "tensorflow::EnvWrapper"

/home/bol7tue/.conda/envs/tfenv/lib/python3.7/site-packages/tensorflow_core/include/tensorflow/core/platform/env.h(356): warning: overloaded virtual function "tensorflow::Env::RegisterFileSystem" is only partially overridden in class "tensorflow::EnvWrapper"

average_distance_loss
/home/bol7tue/.conda/envs/tfenv/lib/python3.7/site-packages/tensorflow_core/include/tensorflow/core/platform/env.h(356): warning: overloaded virtual function "tensorflow::Env::RegisterFileSystem" is only partially overridden in class "tensorflow::EnvWrapper"

/home/bol7tue/.conda/envs/tfenv/lib/python3.7/site-packages/tensorflow_core/include/tensorflow/core/platform/env.h(356): warning: overloaded virtual function "tensorflow::Env::RegisterFileSystem" is only partially overridden in class "tensorflow::EnvWrapper"

hough_voting_gpu_layer
In file included from /home/bol7tue/.conda/envs/tfenv/lib/python3.7/site-packages/tensorflow_core/include/tensorflow/core/framework/op_def_builder.h:24:0,
                 from /home/bol7tue/.conda/envs/tfenv/lib/python3.7/site-packages/tensorflow_core/include/tensorflow/core/framework/op.h:23,
                 from hough_voting_op.cc:31:
/home/bol7tue/.conda/envs/tfenv/lib/python3.7/site-packages/tensorflow_core/include/tensorflow/core/framework/op_def.pb.h:17:2: error: #error This file was generated by an older version of protoc which is
 #error This file was generated by an older version of protoc which is
  ^~~~~
/home/bol7tue/.conda/envs/tfenv/lib/python3.7/site-packages/tensorflow_core/include/tensorflow/core/framework/op_def.pb.h:18:2: error: #error incompatible with your Protocol Buffer headers. Please
 #error incompatible with your Protocol Buffer headers. Please
  ^~~~~
/home/bol7tue/.conda/envs/tfenv/lib/python3.7/site-packages/tensorflow_core/include/tensorflow/core/framework/op_def.pb.h:19:2: error: #error regenerate this file with a newer version of protoc.
 #error regenerate this file with a newer version of protoc.
  ^~~~~
In file included from /home/bol7tue/.conda/envs/tfenv/lib/python3.7/site-packages/tensorflow_core/include/tensorflow/core/framework/op_def.pb.h:35:0,
                 from /home/bol7tue/.conda/envs/tfenv/lib/python3.7/site-packages/tensorflow_core/include/tensorflow/core/framework/op_def_builder.h:24,
                 from /home/bol7tue/.conda/envs/tfenv/lib/python3.7/site-packages/tensorflow_core/include/tensorflow/core/framework/op.h:23,
                 from hough_voting_op.cc:31:
/home/bol7tue/.conda/envs/tfenv/lib/python3.7/site-packages/tensorflow_core/include/tensorflow/core/framework/attr_value.pb.h:17:2: error: #error This file was generated by an older version of protoc which is
 #error This file was generated by an older version of protoc which is
  ^~~~~
/home/bol7tue/.conda/envs/tfenv/lib/python3.7/site-packages/tensorflow_core/include/tensorflow/core/framework/attr_value.pb.h:18:2: error: #error incompatible with your Protocol Buffer headers. Please
 #error incompatible with your Protocol Buffer headers. Please
  ^~~~~
/home/bol7tue/.conda/envs/tfenv/lib/python3.7/site-packages/tensorflow_core/include/tensorflow/core/framework/attr_value.pb.h:19:2: error: #error regenerate this file with a newer version of protoc.
 #error regenerate this file with a newer version of protoc.
  ^~~~~
In file included from /home/bol7tue/.conda/envs/tfenv/lib/python3.7/site-packages/tensorflow_core/include/tensorflow/core/framework/attr_value.pb.h:38:0,
                 from /home/bol7tue/.conda/envs/tfenv/lib/python3.7/site-packages/tensorflow_core/include/tensorflow/core/framework/op_def.pb.h:35,
                 from /home/bol7tue/.conda/envs/tfenv/lib/python3.7/site-packages/tensorflow_core/include/tensorflow/core/framework/op_def_builder.h:24,
                 from /home/bol7tue/.conda/envs/tfenv/lib/python3.7/site-packages/tensorflow_core/include/tensorflow/core/framework/op.h:23,
                 from hough_voting_op.cc:31:
/home/bol7tue/.conda/envs/tfenv/lib/python3.7/site-packages/tensorflow_core/include/tensorflow/core/framework/tensor.pb.h:17:2: error: #error This file was generated by an older version of protoc which is
 #error This file was generated by an older version of protoc which is
  ^~~~~
/home/bol7tue/.conda/envs/tfenv/lib/python3.7/site-packages/tensorflow_core/include/tensorflow/core/framework/tensor.pb.h:18:2: error: #error incompatible with your Protocol Buffer headers. Please
 #error incompatible with your Protocol Buffer headers. Please
  ^~~~~
/home/bol7tue/.conda/envs/tfenv/lib/python3.7/site-packages/tensorflow_core/include/tensorflow/core/framework/tensor.pb.h:19:2: error: #error regenerate this file with a newer version of protoc.
 #error regenerate this file with a newer version of protoc.
  ^~~~~
In file included from /home/bol7tue/.conda/envs/tfenv/lib/python3.7/site-packages/tensorflow_core/include/tensorflow/core/framework/tensor.pb.h:35:0,
                 from /home/bol7tue/.conda/envs/tfenv/lib/python3.7/site-packages/tensorflow_core/include/tensorflow/core/framework/attr_value.pb.h:38,
                 from /home/bol7tue/.conda/envs/tfenv/lib/python3.7/site-packages/tensorflow_core/include/tensorflow/core/framework/op_def.pb.h:35,
                 from /home/bol7tue/.conda/envs/tfenv/lib/python3.7/site-packages/tensorflow_core/include/tensorflow/core/framework/op_def_builder.h:24,
                 from /home/bol7tue/.conda/envs/tfenv/lib/python3.7/site-packages/tensorflow_core/include/tensorflow/core/framework/op.h:23,
                 from hough_voting_op.cc:31:
/home/bol7tue/.conda/envs/tfenv/lib/python3.7/site-packages/tensorflow_core/include/tensorflow/core/framework/resource_handle.pb.h:17:2: error: #error This file was generated by an older version of protoc which is
 #error This file was generated by an older version of protoc which is
  ^~~~~
/home/bol7tue/.conda/envs/tfenv/lib/python3.7/site-packages/tensorflow_core/include/tensorflow/core/framework/resource_handle.pb.h:18:2: error: #error incompatible with your Protocol Buffer headers. Please
 #error incompatible with your Protocol Buffer headers. Please
  ^~~~~
/home/bol7tue/.conda/envs/tfenv/lib/python3.7/site-packages/tensorflow_core/include/tensorflow/core/framework/resource_handle.pb.h:19:2: error: #error regenerate this file with a newer version of protoc.
 #error regenerate this file with a newer version of protoc.
  ^~~~~
In file included from /home/bol7tue/.conda/envs/tfenv/lib/python3.7/site-packages/tensorflow_core/include/tensorflow/core/framework/resource_handle.pb.h:35:0,
                 from /home/bol7tue/.conda/envs/tfenv/lib/python3.7/site-packages/tensorflow_core/include/tensorflow/core/framework/tensor.pb.h:35,
                 from /home/bol7tue/.conda/envs/tfenv/lib/python3.7/site-packages/tensorflow_core/include/tensorflow/core/framework/attr_value.pb.h:38,
                 from /home/bol7tue/.conda/envs/tfenv/lib/python3.7/site-packages/tensorflow_core/include/tensorflow/core/framework/op_def.pb.h:35,
                 from /home/bol7tue/.conda/envs/tfenv/lib/python3.7/site-packages/tensorflow_core/include/tensorflow/core/framework/op_def_builder.h:24,
                 from /home/bol7tue/.conda/envs/tfenv/lib/python3.7/site-packages/tensorflow_core/include/tensorflow/core/framework/op.h:23,
                 from hough_voting_op.cc:31:
/home/bol7tue/.conda/envs/tfenv/lib/python3.7/site-packages/tensorflow_core/include/tensorflow/core/framework/tensor_shape.pb.h:17:2: error: #error This file was generated by an older version of protoc which is
 #error This file was generated by an older version of protoc which is
  ^~~~~
........
   void SerializeWithCachedSizes(
        ^~~~~~~~~~~~~~~~~~~~~~~~
/home/bol7tue/.conda/envs/tfenv/lib/python3.7/site-packages/tensorflow_core/include/tensorflow/core/protobuf/config.pb.h:3210:35: error: ‘google::protobuf::uint8* tensorflow::TensorConnection::InternalSerializeWithCachedSizesToArray(google::protobuf::uint8*) const’ marked ‘final’, but is not virtual
   ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/bol7tue/.conda/envs/tfenv/lib/python3.7/site-packages/tensorflow_core/include/tensorflow/core/protobuf/config.pb.h:3603:38: error: ‘InternalMetadataWithArena’ in namespace ‘google::protobuf::internal’ does not name a type
   ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
                                      ^~~~~~~~~~~~~~~~~~~~~~~~~
/home/bol7tue/.conda/envs/tfenv/lib/python3.7/site-packages/tensorflow_core/include/tensorflow/core/protobuf/config.pb.h:3400:42: error: ‘google::protobuf::Arena* tensorflow::CallableOptions::GetArena() const’ marked ‘final’, but is not virtual
   inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final {
                                          ^~~~~~~~
/home/bol7tue/.conda/envs/tfenv/lib/python3.7/site-packages/tensorflow_core/include/tensorflow/core/protobuf/config.pb.h:3403:16: error: ‘void* tensorflow::CallableOptions::GetMaybeArenaPointer() const’ marked ‘final’, but is not virtual
   inline void* GetMaybeArenaPointer() const final {
                ^~~~~~~~~~~~~~~~~~~~
/home/bol7tue/.conda/envs/tfenv/lib/python3.7/site-packages/tensorflow_core/include/tensorflow/core/protobuf/config.pb.h:3451:8: error: ‘bool tensorflow::CallableOptions::MergePartialFromCodedStream(google::protobuf::io::CodedInputStream*)’ marked ‘final’, but is not virtual
   bool MergePartialFromCodedStream(
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/bol7tue/.conda/envs/tfenv/lib/python3.7/site-packages/tensorflow_core/include/tensorflow/core/protobuf/config.pb.h:3454:8: error: ‘void tensorflow::CallableOptions::SerializeWithCachedSizes(google::protobuf::io::CodedOutputStream*) const’ marked ‘final’, but is not virtual
   void SerializeWithCachedSizes(
        ^~~~~~~~~~~~~~~~~~~~~~~~
/home/bol7tue/.conda/envs/tfenv/lib/python3.7/site-packages/tensorflow_core/include/tensorflow/core/protobuf/config.pb.h:3456:35: error: ‘google::protobuf::uint8* tensorflow::CallableOptions::InternalSerializeWithCachedSizesToArray(google::protobuf::uint8*) const’ marked ‘final’, but is not virtual
   ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hough_voting_layer
roi_pooling_layer
build triplet loss
build lifted structured loss
build computing flow layer
build backprojecting layer
build projecting layer
build computing label layer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant