Reference website:
Http://www.cnblogs.com/darkknightzh/p/5909121.html (under Linux)
Http://www.mamicode.com/info-detail-1338521.html (under Windows)
Http://www.cnblogs.com/denny402/p/5082341.html (the simplest and most straightforward example)
http://www.2cto.com/kf/201607/527860.html (mnist data format and Lmdb conversion Code analysis)
HTTP://NBVIEWER.JUPYTER.ORG/GITHUB/BVLC/CAFFE/BLOB/MASTER/EXAMPLES/00-CLASSIFICATION.IPYNB (official website tutorial python do classification)
Caffe to generate your own files Lmdb
- Build txt List of picture file lists
http://blog.csdn.net/sinat_30071459/article/details/51613304 (label making)
- called convert_imageset.sh to convert
To create an executable file Create_imagenet_train.bat
- .. \.. \build\x64\release\convert_imageset.exe
- --resize_height=256
- --resize_width=256 # Zoom
- --shuffle # Scramble Order
- F:\ImageDatabase\GoogleImage\GoogleImage-small\ # Image Path
- D:\Dev\caffe-master\examples\googleimages\train.txt # Label Path
- F:\ImageDatabase\GoogleImage\lmdb\googleimagessmall_train_lmdb # destination path, not present
- Pause # Pause
similarly Create_imagenet_val.bat
- Calculate mean File
Create a batch file Compute_mean.bat
- .. \.. \build\x64\release\compute_image_mean.exe
- F:\ImageDatabase\GoogleImage\lmdb\googleimagessmall_train_lmdb #train Lmdb Path
- D:\Dev\caffe-master\examples\googleimages\mean.binaryproto # Output Path
- Pause
Iv. List of documents
will be Lmdb documents, mean documents, label put the files in the right place .
Configure the path in the network configuration file to train
Caffe to generate your own files Lmdb