TensorRT-Yolov3
TensorRT-Yolov3 copied to clipboard
deconstructor failed if "std::unique_ptr<trtNet> net" declared as a global variable
trtNet deconstructor failed if "std::unique_ptr<trtNet> net" declared as a global variable
error is "cuda error 29" in YoloLayerPlugin.cu
YoloLayerPlugin::~YoloLayerPlugin()
if(mOutputBuffer) CUDA_CHECK(cudaFreeHost(mOutputBuffer));
I could not find the reason.
Is this a runtime error? The error info as below:
/** * This indicates that a CUDA Runtime API call cannot be executed because * it is being called during process shut down, at a point in time after * CUDA driver has been unloaded. */ cudaErrorCudartUnloading = 29
It seems that your cuda driver is not loaded right.
Thank you. The error is "CUDA error 29 at /home/githubCode/TensorRT-Yolov3/tensorRTWrapper/code/src/YoloLayer.cu:22CUDA error 29 at /home/githubCode/TensorRT-Yolov3/tensorRTWrapper/code/src/YoloLayer.cu:25(base)