tensorrtx icon indicating copy to clipboard operation
tensorrtx copied to clipboard

semantic-segmentation build error

Open avBuffer opened this issue 3 years ago • 3 comments

[100%] Linking CXX executable swintransformer /usr/bin/ld: CMakeFiles/swintransformer.dir/UpsamplePlugin.cpp.o: in function UpsamplePlugin::enqueue(int, void const* const*, void* const*, void*, CUstream_st*)': UpsamplePlugin.cpp:(.text+0x1a4): undefined reference to UpsampleInference(CUstream_st*, int, int, int, int, int, float, float, void const*, void*)' /usr/bin/ld: CMakeFiles/swintransformer.dir/trainsform.cpp.o: in function nvinfer1::PluginRegistrar<nvinfer1::layernormCreator>::~PluginRegistrar()': trainsform.cpp:(.text._ZN8nvinfer115PluginRegistrarINS_16layernormCreatorEED2Ev[_ZN8nvinfer115PluginRegistrarINS_16layernormCreatorEED5Ev]+0x0): undefined reference to vtable for nvinfer1::layernormCreator' /usr/bin/ld: trainsform.cpp:(.text._ZN8nvinfer115PluginRegistrarINS_16layernormCreatorEED2Ev[_ZN8nvinfer115PluginRegistrarINS_16layernormCreatorEED5Ev]+0xc): undefined reference to vtable for nvinfer1::layernormCreator' /usr/bin/ld: CMakeFiles/swintransformer.dir/trainsform.cpp.o: in function _GLOBAL__sub_I__Z15mblobFromImagesRKN2cv11_InputArrayERKNS_12_OutputArrayENS_5Size_IiEERKNS_7Scalar_IdEESB_bb': trainsform.cpp:(.text.startup+0x28c): undefined reference to `nvinfer1::layernormCreator::layernormCreator()' collect2: error: ld returned 1 exit status make[2]: *** [CMakeFiles/swintransformer.dir/build.make:129: swintransformer] Error 1 make[1]: *** [CMakeFiles/Makefile2:76: CMakeFiles/swintransformer.dir/all] Error 2 make: *** [Makefile:84: all] Error 2

avBuffer avatar Jun 13 '22 08:06 avBuffer

Cuda11.4 TensorRT8.4.0

avBuffer avatar Jun 13 '22 08:06 avBuffer

Can you try TensorRT 7.x? @freedenS Do we support TensorRT 8.4?

wang-xinyu avatar Jun 25 '22 08:06 wang-xinyu

Swin Transform - Semantic Segmentation, looks like the authors are @wang-xinyu and @wdhao

freedenS avatar Jun 28 '22 06:06 freedenS

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Aug 31 '22 02:08 stale[bot]