Hi. I am trying to perform inference on a sample data on my raspberry pi. When I call ImpulseRunner(model_path), I get this error:
Traceback (most recent call last):
File “/home/pi/Projects/test-static-dnn/pypy.py”, line 16, in
res = runner.classify(features)
File “/home/pi/.local/lib/python3.9/site-packages/edge_impulse_linux/runner.py”, line 60, in classify
return self.send_msg(msg)
File “/home/pi/.local/lib/python3.9/site-packages/edge_impulse_linux/runner.py”, line 66, in send_msg
raise Exception(‘ImpulseRunner is not initialized’)
Exception: ImpulseRunner is not initialized
Is there something I’m not doing to initialize ImpulseRunner?
I am not using the default examples quite exactly. Yes I called the script. This is all that’s in the script below. Returns an error on the runner = ImpulseRunner(model_path) line.