It looks like you are still using our old Deepstream SDK.
Would you mind to reflash your system into JetPack4.2.2 and install Deepstream 4.0.1 first?
The YOLO sample is now natively included in the Deepstream SDK.
You can find it here: /opt/nvidia/deepstream/deepstream-4.0/sources/objectDetector_Yolo/