wsora
wsora
> Getting the same issue but not still resolved by me. Any suggestions? When train darknet,did you edit your custom *.cfg based on yolov4-custom.cfg instead of yolov4.cfg? There are some...
用20230517分支的代码还是遇到这个问题,怎么解决?
编译时候遇到下面的错误,感觉可能是protobuf的版本不对,试了2.6.1和3.0.0的版本都不行。 [ 94%] Linking CXX executable ../../buildEngine ../../lib/libmynvonnxparser.so:对‘google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(int, std::string const&, google::protobuf::io::CodedOutputStream*)’未定义的引用 ../../lib/libmynvonnxparser.so:对‘google::protobuf::io::CodedOutputStream::WriteStringWithSizeToArray(std::string const&, unsigned char*)’未定义的引用 ../../lib/libmynvonnxparser.so:对‘google::protobuf::TextFormat::PrintToString(google::protobuf::Message const&, std::string*)’未定义的引用 ../../lib/libmynvonnxparser.so:对‘google::protobuf::Message::GetTypeName() const’未定义的引用 ../../lib/libmynvonnxparser.so:对‘google::protobuf::MessageFactory::InternalRegisterGeneratedFile(char const*, void (*)(std::string const&))’未定义的引用 ../../lib/libmynvonnxparser.so:对‘google::protobuf::internal::WireFormatLite::WriteBytes(int, std::string const&, google::protobuf::io::CodedOutputStream*)’未定义的引用 ../../lib/libmynvonnxparser.so:对‘google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(int,...
在cmake ==1.10.2,g++==7.5.0,libprotoc==3.0.0环境下终于编译成功了。