You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/home/c24702/code/C++_project/bisenet1/BiSeNet/tensorrt/trt_dep.cpp: In member function 'void SemanticSegmentTrt::parse_to_engine(std::string, std::string, std::string, std::string)':
/home/c24702/code/C++_project/bisenet1/BiSeNet/tensorrt/trt_dep.cpp:106:48: error: 'kBF16' is not a member of 'nvinfer1::BuilderFlag'
106 | config->setFlag(nvinfer1::BuilderFlag::kBF16);
| ^~~~~
/home/c24702/code/C++_project/bisenet1/BiSeNet/tensorrt/trt_dep.cpp: In member function 'std::vector SemanticSegmentTrt::inference(std::vector&)':
/home/c24702/code/C++_project/bisenet1/BiSeNet/tensorrt/trt_dep.cpp:229:14: error: 'class nvinfer1::IExecutionContext' has no member named 'setOutputTensorAddress'; did you mean 'getOutputTensorAddress'?
229 | context->setOutputTensorAddress(output_name.c_str(), buffs[1]);
| ^~~~~~~~~~~~~~~~~~~~~~
| getOutputTensorAddress
make[2]: *** [CMakeFiles/segment.dir/build.make:90: CMakeFiles/segment.dir/trt_dep.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:111: CMakeFiles/segment.dir/all] Error 2
make: *** [Makefile:91: all] Error 2
请问这个应该如何解决
The text was updated successfully, but these errors were encountered:
/home/c24702/code/C++_project/bisenet1/BiSeNet/tensorrt/trt_dep.cpp: In member function 'void SemanticSegmentTrt::parse_to_engine(std::string, std::string, std::string, std::string)':
/home/c24702/code/C++_project/bisenet1/BiSeNet/tensorrt/trt_dep.cpp:106:48: error: 'kBF16' is not a member of 'nvinfer1::BuilderFlag'
106 | config->setFlag(nvinfer1::BuilderFlag::kBF16);
| ^~~~~
/home/c24702/code/C++_project/bisenet1/BiSeNet/tensorrt/trt_dep.cpp: In member function 'std::vector SemanticSegmentTrt::inference(std::vector&)':
/home/c24702/code/C++_project/bisenet1/BiSeNet/tensorrt/trt_dep.cpp:229:14: error: 'class nvinfer1::IExecutionContext' has no member named 'setOutputTensorAddress'; did you mean 'getOutputTensorAddress'?
229 | context->setOutputTensorAddress(output_name.c_str(), buffs[1]);
| ^~~~~~~~~~~~~~~~~~~~~~
| getOutputTensorAddress
make[2]: *** [CMakeFiles/segment.dir/build.make:90: CMakeFiles/segment.dir/trt_dep.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:111: CMakeFiles/segment.dir/all] Error 2
make: *** [Makefile:91: all] Error 2
请问这个应该如何解决
The text was updated successfully, but these errors were encountered: