ZED samples/Object Detection failure using ZED SDK for JetPack 5.1.1 (L4T 35.3) 4.0

Failure description:
AttributeError: module ‘pyzed.sl’ has no attribute ‘DETECTION_MODEL’

Failure setup:
HW Jetson Orin AGX flashed with Jetpack 5.1.1
Run the sample code as described in zed-sdk/object detection/custom detector/python/pytorch_yolov5 at master · stereolabs/zed-sdk · GitHub.
In result getting an Exception of AttributeError as follows:

File “detector.py”, line 166, in main
obj_param.detection_model = sl.DETECTION_MODEL.CUSTOM_BOX_OBJECTS
AttributeError: module ‘pyzed.sl’ has no attribute ‘DETECTION_MODEL’
YOLOv5 :rocket: v7.0-151-g3e14883 Python-3.8.10 torch-2.0.0 CPU