jkjung-avt / tensorrt_demos

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

Can I install mtcnn samples in ubentu 18.04? #516

Closed LUOQING1994 closed 2 years ago

LUOQING1994 commented 2 years ago

My environment:ubentu 18.04、TensorRt 6.0.x、cuda 10.1 When I build the Cython code. the following error is reported: Screenshot from 2021-12-16 15-51-25

jkjung-avt commented 2 years ago

@LUOQING1994 Please refer to README_x86.md.

To recap, please find whether your TensorRT 6.0.x installation is located.

For example, I put the "/usr/local/TensorRT-7.1.3.4" path into my library and include paths since that's where I've installed TensorRT on my x86 PC. Your problem should be fixed once you replace them with the correct paths for your own environment.

https://github.com/jkjung-avt/tensorrt_demos/blob/2e31c5deb42cf510030e8f6571b5a49671d70996/setup.py#L8-L12

https://github.com/jkjung-avt/tensorrt_demos/blob/2e31c5deb42cf510030e8f6571b5a49671d70996/setup.py#L24-L32