linghu8812 / tensorrt_inference

696 stars 205 forks source link

segmentation fault when running yolov5 #175

Open bingnoi opened 7 months ago

bingnoi commented 7 months ago

[11/23/2023-15:57:47] [I] [TRT] Loaded engine size: 16 MiB [11/23/2023-15:57:47] [I] [TRT] [MemUsageChange] TensorRT-managed allocation in engine deserialization: CPU +0, GPU +14, now: CPU 0, GPU 14 (MiB) deserialize done [11/23/2023-15:57:47] [I] [TRT] [MemUsageChange] TensorRT-managed allocation in IExecutionContext creation: CPU +0, GPU +133, now: CPU 0, GPU 147 (MiB) [11/23/2023-15:57:47] [W] [TRT] CUDA lazy loading is not enabled. Enabling it can significantly reduce device memory usage. SeeCUDA_MODULE_LOADINGin https://docs.nvidia.com/cuda/cuda-c-programming-guide/index.html#env-vars binding0: 49152000 binding1: 85680000 Processing: ../samples/detection_segmentation//zidane.jpg detection prepare image take: 20.5733 ms. Segmentation fault