Troubleshooting

If you get the following errors:

No OpenMV Cams found

No-OpenMV-Cams-found-image

This means that the OpenMV is either not connected to the computer or not recognized by the OS:

  1. Check that the OpenMV board is connected to the computer via USB.
  2. 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

OSError-could-not-find-file-image

Make sure to upload the file to the Arm Cortex-M7 on the OpenMV board.

Previous Next