I can only tell you what to do with the information you provided. According to the log you post, you use deepstream sample detector model as SGIE and try to treat it as classifier model with “is-classfier=1”. So this is the reason your “Test3” fails.
Your log for your “Test3” shows the model has two output layers and the input layer width is 640, height is 368, channel is 3
The document Gst-nvinfer — DeepStream 5.1 Release documentation has mentioned “input-object-min-width” and “input-object-min-height” are only for SGIE. “input-object-min-width” should be input layer width/16, “input-object-min-height” should be input layer height/16. Jetson HW scaler does not support scaling factor less than 1/16 or larger than 16.
So for this “Test3” you post here, you need to correct your configuration as I mentioned in my last post. This is for your “Test3”.
For your own model, you can use the same method to analysis your configuration.