Skip to content

关于phxrpc中服务端c++调用tensorflow脚本,Tensorflow Protobuf版本和phxrpc Protobuf版本 #57

@ayj12345

Description

@ayj12345

您好,phx团队,有个问题想请教一下,phxrpc框架需要下载protobuf编译,我的服务端程序是用c++调用python,执行一个包含tensorflow的脚本,可是在执行过程中,出现
[libprotobuf ERROR google/protobuf/descriptor_database.cc:58] File already exists in database: google/protobuf/timestamp.proto [libprotobuf FATAL google/protobuf/descriptor.cc:1401] CHECK failed: generated_database_->Add(encoded_file_descriptor, size): terminate called after throwing an instance of 'google::protobuf::FatalException' what(): CHECK failed: generated_database_->Add(encoded_file_descriptor, size):
这是什么问题,有什么解决办法吗?
在补嵌入phxrpc框架,c++调用python,执行tensorflow脚本是ok的,tensorflow1.4.0(protobuf3.4.0) python3.5.3 phxrpc编译时,protobuf版本是3.4.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions