ml6team / deepstream-python

NVIDIA Deepstream 6.1 Python boilerplate
MIT License
130 stars 36 forks source link

Incorrect reference to engine? #16

Closed GerardNL closed 1 year ago

GerardNL commented 1 year ago

I'm not quite sure, but I think there is an error in line 65 of deepstream/configs/pgies/pgie.txt

It reads: model-engine-file=../opt/nvidia/deepstream/deepstream-6.1/samples/models/Primary_Detector/resnet10.caffemodel_b1_gpu0_fp16.engine

which should probably be: model-engine-file=/opt/nvidia/deepstream/deepstream-/samples/models/Primary_Detector/resnet10.caffemodel_b1_gpu0_fp16.engine

However, when I try this with DS 6.2 and still new to DS, I don't have this engine file there either. So I'm a bit confused, but based on other lines in that same file, it seems likely to be a typo?

julestalloen commented 1 year ago

This is not a typo but a shortcoming of Deepstream itself. I believe point 1 and 2 of the Caveats section cover your points.

GerardNL commented 1 year ago

The warnings thrown out by DS are still a bit confusing at times and doesn't help a novice. I think the code works despite the error. So let's close it.