Troubleshooting
If you get the following errors:
No OpenMV Cams found
This means that the OpenMV is either not connected to the computer or not recognized by the OS:
- Check that the OpenMV board is connected to the computer via USB.
- If running on Linux please follow this USB VM Setup Guide.
No module named caffe
ImportError: No module named caffe
Check if it has been appended in pythonpath properly by typing
python >>> import sys >>> sys.path ['', '/home/embedded/caffe/python', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-x86_64-linux-gnu', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/home/embedded/.local/lib/python2.7/site-packages', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages']
if /home/embedded/caffe/python
is not there
>>> exit() export PYTHONPATH=~/caffe/python
Check failed: mdb_status == 0 (2 vs. 0) No such file or directory
Check failed: mdb_status == 0 (2 vs. 0) No such file or directory
Open the file:
repos/openmv/ml/cmsisnn/models/smile/smile_train_test.prototxt
and check that the mean_file
and source
are pointing to the files in
repos/openmv/ml/cmsisnn/models/smile/smile_database/
OSError: Could not find the file
Make sure to upload the file to the Arm Cortex-M7 on the OpenMV board.