Model engine error, deepstream-test1, python bindings

Actually, I solved the problem but I had to generate the resnet10.caffemodel_b1_gpu0_int8.engine running the make file in /opt/nvidia/deepstream/deepstream-5.0/sources/apps/sample_apps/deepstream-test1

But suppose I just want to run only in python (/opt/nvidia/deepstream/deepstream-5.0/sources/python/), how to do it? because I had to use C files to creat it or I am wrong?