I can't create two networks using tensorrt simultaneously in one program

Could someone have some ideas about why? I’d like to have two networks at my program, and I find I can’t create them both. The ICaffeParser has something wrong with it. Please help me.

Hi,

Can you please provide a small repro package with the code + models you’re trying to run so we can further debug this?

Thanks,
NVIDIA Enterprise Support

Thanks for your reply. I’ve found the problem. After the initialization of the first network, I called “shutdownProtobuf” and as a result the ICaffeParser could not parse the second network. Delete the statement “shutdownProtobuf” and everything goes well.

Deshun