PYNQ: PYTHON PRODUCTIVITY

Run tiny_yolo in the python interpreter

I have run the qnn python object tiny-yolo detection sucessfully in the jupyter notebook. But when I create a python scripts and launch it with

sudo python3 run.py

I get the following error

terminate called after throwing an instance of 'std::runtime_error'
  what():  Could not initizialize 3 required hardware buffers!
Aborted

Anyone know this error or what it represents?

Thanks

That looks like there isn’t sufficient memory for the buffers to be allocated in. Does this happen if you run your script from a freshly booted board? Are you doing any calls to Xlnk or pynq.allocate in your script?

Peter