I am able to run the yolo and mobilenet examples in tmp_s3 folder. However, this is my code:
Pipeline = dai.Pipeline()
cam = pipeline.create(dai.node.ColorCamera)
cam.setBoardSocket(dai.CameraBoardSocket.CAM_B)
cam.setPreviewSize(512,512)
cam.setRawNumFramesPool(3)
cam.setFps(1)
nn = pipeline.create(dai.node.NeuralNetwork)
nnPath = “MYPATH.blob”
nn.setBlobPath(nnPath)
cam.preview.link(nn.input)
nnXout = pipeline.create(dai.node.XLinkOut)
nnXout.setStreamName(“nn”)
nn.out.link(nnXout.input)
with dai.Device(pipeline) as device:
qNn = device.getOutputQueue("nn")
nnData = qNn.get()
I get the following error at the last line:
" RuntimeError: Communication exception - possible device error/misconfiguration. Original message 'Couldn't read data from stream: ‘nn’ (X_LINK_ERROR)' "
Additionally, the firmware crashes.
Other notes: