Open Esesna opened 2 years ago
When I read the trt file, the Segmentation fault flies.But, Everything works when I create trt from onnx.
Yolov4.cpp 133 line cudaMemcpyAsync(buffers[0], curInput.data(), bufferSize[0], cudaMemcpyHostToDevice, stream);
cudaMemcpyAsync(buffers[0], curInput.data(), bufferSize[0], cudaMemcpyHostToDevice, stream);
Output console: ../config-tiny.yaml ../samples loading filename from:../yolov4-tiny.trt deserialize done binding0: 132907008 binding1: 3893760 Processing: ../samples/person.jpg prepareImage prepare image take: 55.358 ms. host2device Segmentation fault (core dumped)
../config-tiny.yaml ../samples loading filename from:../yolov4-tiny.trt deserialize done binding0: 132907008 binding1: 3893760 Processing: ../samples/person.jpg prepareImage prepare image take: 55.358 ms. host2device Segmentation fault (core dumped)
Jetson Nano Ubuntu 18.04(aarch64) Cuda 10.2 tensorRT 7.1.3
When I read the trt file, the Segmentation fault flies.But, Everything works when I create trt from onnx.
Yolov4.cpp 133 line
cudaMemcpyAsync(buffers[0], curInput.data(), bufferSize[0], cudaMemcpyHostToDevice, stream);
Output console:
../config-tiny.yaml ../samples loading filename from:../yolov4-tiny.trt deserialize done binding0: 132907008 binding1: 3893760 Processing: ../samples/person.jpg prepareImage prepare image take: 55.358 ms. host2device Segmentation fault (core dumped)
Jetson Nano Ubuntu 18.04(aarch64) Cuda 10.2 tensorRT 7.1.3