caffe训练自己的数据
1数据准备
从网上下载了猫鸟数据,训练图片各40张,测试数据各10张。
![](https://i-blog.csdnimg.cn/blog_migrate/3bab8eaab4e256f0c671c3085595ee2f.png)
接着准备训练与验证用的标注文件,由于图片数量较少,就用手工编写。
随后在caffe-master创建mytest文件夹,然后将imagenet的crea_imagenet.sh复制到该文件夹下,进行路径设置(不知为何,我这设置绝对路径才不会出错),运行该sh。
#!/usr/bin/envsh
#Create the imagenet lmdb inputs
#N.B. set the path to the