The detectnet_v2 engine does not support explicit batch. Refer to Convert detectnet_v2 model to engine - #6 by Morganh