The jetson.inference.detectNet interface (aka detectnet.py) is the recommended way to use the ssd-mobilenet.onnx trained with train_ssd.py. Otherwise you may need to make code changes to JetBot/ect to support the pre/post-processing that model expects.
To run trtexec, try this:
$ cd /usr/src/tensorrt/bin
$ ./trtexec