How to run multiple neural networks in parallel to classify images

Hi, all. I am new to jetbot and deeplearning. A question bothered me for a long time. How to run road_following and collision_avoidaance parallel on the jetbot ?
I tried

import Threading

, but due to the existence of the GIL, this does not seem to be feasible.

So, How to run multiple neural networks in parallel for classify images? Does anyone have a better suggestion?

Thanks for reading this topic, and pls forgive me if the poor English expression confuses you.
Best wishes
Howie

Hi,

You can create multiple threads or multiple process for the different models.
A sample for TensorRT with python mulit-threading can be found here:

Thanks.

Thanks, I will learn how to use TensorRT.😀