yes, you’d better to use DS NGC docker, but I found the osd library is based on CUDA 11, which should be not correct for current DS since current DS is based on CUDA 10.2.
So, I would recommend to use NGC DS docker, and don’t replace the osd lib for now.
To avoid the OSD error you met above, you could keep the all OSD in image, that is, no OSD draw outside of the image,