I would like to know how to solve the batch size problem mentioned here

There is no update from you for a period, assuming this is not an issue anymore. Hence we are closing this topic. If need further support, please open a new one. Thanks

Have you changed the code? Can you run deepstream-test1.py normally?