Skip to content

TypeError: pybind11::init(): factory function returned nullptr. #308

Description

@chegnyanjun

Hi,i am use tensorrt7.0.0.11 and cuda10.1 ubuntu16.04 pytorch1.3.1 python3.6.But i faced above problem when i was using it.It indices the problem from this line:

TRT_LOGGER = trt.Logger(trt.Logger.WARNING)
with trt.Builder(TRT_LOGGER) as builder, builder.create_network() as 
 network, trt.OnnxParser(network,TRT_LOGGER) as parser:  #<--- this line got above problem.

The code can be use in the tensorrt6.0.1.5,but got problem in the tensorrt7.0.0.11.

What's problem of my code?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions