NVIDIA / trt-samples-for-hackathon-cn

Simple samples for TensorRT programming
Apache License 2.0
1.49k stars 338 forks source link

pybind11::init(): factory function returned nullptr #103

Open 18780165950 opened 6 months ago

18780165950 commented 6 months ago

Traceback (most recent call last): File "/netdrive/project/tangzihang/trt-samples-for-hackathon-cn-master/trt-samples-for-hackathon-cn-master/cookbook/01-SimpleDemo/TensorRT8.5/main_1.py", line 104, in run() # create a serialized network of TensorRT and do inference File "/netdrive/project/tangzihang/trt-samples-for-hackathon-cn-master/trt-samples-for-hackathon-cn-master/cookbook/01-SimpleDemo/TensorRT8.5/main_1.py", line 38, in run builder = trt.Builder(logger) # create Builder TypeError: pybind11::init(): factory function returned nullptr

18780165950 commented 6 months ago

how to solve this error? help!