jkjung-avt / tensorrt_demos

TensorRT MODNet, YOLOv4, YOLOv3, SSD, MTCNN, and GoogLeNet
https://jkjung-avt.github.io/
MIT License
1.74k stars 545 forks source link

mtcnn Multi process operation error #520

Closed momohuangsha closed 2 years ago

momohuangsha commented 2 years ago

[TensorRT] ERROR: ../rtSafe/cuda/reformat.cu (925) - Cuda Error in NCHWToNCHHW2: 400 (invalid resource handle) [TensorRT] ERROR: FAILED_EXECUTION: std::exception Hope to give advice. thanks!

jkjung-avt commented 2 years ago

Did you create TrtMtcnn objects separately inside each individual process which does inference with the specific context (object instance)?

jkjung-avt commented 2 years ago

Close due to no response.