Hi, I am getting the following error and need some help to fix it.
[14442C10F17AE6D600] [1.1] [17.508] [system] [critical] Fatal error. Please report to developers. Log: 'Fatal error on MSS CPU: trap: 02, address: 80000FE4' '0'
If I comment out some parts of my pipeline (namely the detectory and object tracker), it works without a hitch.
The detector and object tracker are defined as follows.
# Read YOLO specific metadata from file
detectorNetworkConfigPath = Path("yolov5n_coco_416x416.json")
detectorNetworkBlobPath = "yolov5n_coco_416x416_openvino_2022.1_6shave.blob"
with detectorNetworkConfigPath.open() as file:
nnconfig = json.load(file).get("nn_config")
metadata = nnconfig.get("NN_specific_metadata", {})
classes = metadata.get("classes", {})
coordinates = metadata.get("coordinates", {})
anchors = metadata.get("anchors", {})
anchorMasks = metadata.get("anchor_masks", {})
iouThreshold = metadata.get("iou_threshold", {})
confidenceThreshold = metadata.get("confidence_threshold", {})
detectorNetwork = pipeline.create(dai.node.YoloDetectionNetwork)
detectorNetwork.setBlobPath(detectorNetworkBlobPath)
detectorNetwork.setConfidenceThreshold(confidenceThreshold)
detectorNetwork.setNumClasses(classes)
detectorNetwork.setCoordinateSize(coordinates)
detectorNetwork.setAnchors(anchors)
detectorNetwork.setAnchorMasks(anchorMasks)
detectorNetwork.setIouThreshold(iouThreshold)
detectorNetwork.setNumInferenceThreads(2)
detectorNetwork.input.setBlocking(False)
camRgb.preview.link(detectorNetwork.input)
# ----------------- TRACKER SETUP ----------------- #
objectTracker = pipeline.create(dai.node.ObjectTracker)
objectTracker.setTrackerType(dai.TrackerType.SHORT_TERM_KCF)
objectTracker.setTrackerIdAssignmentPolicy(dai.TrackerIdAssignmentPolicy.SMALLEST_ID)
detectorNetwork.passthrough.link(objectTracker.inputTrackerFrame)
detectorNetwork.passthrough.link(objectTracker.inputDetectionFrame)
detectorNetwork.out.link(objectTracker.inputDetections)
xoutObjectTracker = pipeline.create(dai.node.XLinkOut)
objectTracker.out.link(xoutObjectTracker.input)
xoutObjectTracker.setStreamName("tracklets")