SSD: Single Shot MultiBox Detector Configuration and Usage Summary
Experimental Environment
- Ubuntu 16.04
- CPU only, because my own machine had no NVIDIA card. AMD is all tears.
Environment Configuration
Basically follow the official documentation. Here I only show the parts that differ from the documentation.
Makefile.confile
- line 8: CPU only
- line 79, 80: support for python3
- line 81: /usr/lib/python3.5/dist-packages/numpy/core/include -> /usr/local/lib/python3.5/dist-packages/numpy/core/include
- line 95: fix fatal of
hdf5
Problems Encountered
./include/caffe/util/hdf5.hpp:6:18: fatal error: hdf5.h: No such file or directory
Only Ubuntu 15.10+ versions should encounter this problem. The reason is that the paths of the hdf5 header files and libraries changed in newer versions.
Solution
/usr/bin/ld: cannot find -lopenblas
1 | $ locate libopenblas.so |
/usr/bin/ld: cannot find -lboost_python3