您的位置:首页 > 理论基础 > 计算机网络

caffe初探之-caffe使用CIFAR-10数据集训练网络

2017-03-01 10:20 330 查看
文章示例来自caffe官网http://caffe.berkeleyvision.org/gathered/examples/cifar10.html
The CIFAR-10 dataset

The CIFAR-10 dataset consists of 60000 32x32 colour images in 10 classes, with 6000 images per class. There are 50000 training images and 10000 test images.



1. 获取数据

cd caffe
./data/cifar10/get_cifar10.sh
2. 创建两个数据集cifar10_train_lmdb和cifar10_test_lmdb

cd caffe
./examples/cifar10/create_cifar10.sh


3. 训练和测试数据

里面有两个训练模型‘’full‘’和‘’quick‘’

这里训练''full''模型

cd caffe
./examples/cifar10/train_full.sh
开始训练

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐