I don’t know the name of your gst-nvinfer configuration file.
Please refer to DeepStream SDK FAQ - #21 by mchi for how to configure gst-nvinfer configuration file.
Seems you need to read the document and our sample app to understand how gst-nvinfer works before you start to integrate your own model.