Граф коммитов

60 Коммитов

Автор SHA1 Сообщение Дата
Luke Yeager f30c61cfdf Print to stderr for example LMDB code 2016-04-20 15:49:57 -07:00
Evan Shelhamer 2cc3844cb2 [examples] switch examples + models to Input layers 2016-02-25 17:29:42 -08:00
Tea b72b0318e2 replace snprintf with a C++98 equivalent 2015-11-26 09:54:12 +08:00
Carl Doersch a52ee656a5 Cleanup batch norm layer, include global stats computation 2015-10-22 08:00:13 -07:00
Dmytro Mishkin 2f05b03371 Added batch normalization layer with test and examples 2015-10-20 21:04:08 -07:00
Darren Garvey 583194a008 cifar10: Fix examples by setting snapshot_format.
Commit 4227828a set the default binary format from HDF5 to BINARYPROTO to
fix #2885. This broke the cifar10 examples which relied on this default.

This commit specifies the snapshot_format explicitly since the rest of the
example relies on this being HDF5.
2015-09-02 00:42:11 +01:00
Luke Yeager 2f5889cb84 Use input_shape instead of input_dim in examples 2015-08-20 14:29:02 -07:00
Eric Tzeng c9b333e062 Update example bash scripts to expect .h5, new extensions in .gitignore 2015-08-07 14:56:38 -07:00
AdamStelmaszczyk c51e8d6232 One command less
Also more readable and compatible with format of instructions for MNIST https://github.com/BVLC/caffe/tree/master/examples/mnist
2015-07-10 21:41:46 +01:00
Jeff Donahue e6c80dac40 Upgrade existing nets using upgrade_net_proto_text tool
Restore comments afterwards
2015-02-05 15:17:24 -08:00
Evan Shelhamer 92a66e36b5 Merge pull request #1748 from longjon/db-wrappers
Simple database wrappers
2015-01-29 20:58:58 -08:00
Evan Shelhamer 3b42270216 Merge pull request #1632 from 7hil/cifar_lmdb
switch cifar10 example to lmdb
2015-01-25 23:08:38 -08:00
Evan Shelhamer 43bae95d7f Back-merge fixes + docs
and other fixes and documentation updates.
2015-01-21 15:54:21 -08:00
Jonathan L Long 7dfe23963c use db wrappers 2015-01-19 15:15:04 -08:00
Peihao.Huang b00445630b switch cifar10 example to lmdb 2014-12-23 11:18:51 +08:00
Rohit 0b6c663d9b documentation bug 2014-10-31 21:43:44 -04:00
Sergio 65688bed17 Upgrade compute_image_mean to use gflags, accept list_of_images, and print mean_values 2014-10-15 17:03:18 -07:00
Kevin James Matzen d275f77332 Renamed Database interface to Dataset. 2014-10-14 19:40:37 -04:00
Kevin James Matzen 08b971feae Templated the key and value types for the Database interface. The Database is now responsible for serialization. Refactored the tests so that they reuse the same code for each value type and backend configuration. 2014-10-14 19:35:23 -04:00
Kevin James Matzen 80a99b939b Changed Database::buffer_t to Database::key_type and Database::value_type 2014-10-14 19:31:30 -04:00
Kevin James Matzen e0b572dd1a Updated Database interface to take key and value by const reference for put and key by const reference for put. Additional copies are made for get and put in the LMDB implementation. 2014-10-14 19:31:30 -04:00
Kevin James Matzen 73b16e43e4 Updated Database interface so that rather than CHECKing for certain conditions inside open, put, get, and commit, these functions return a bool indicating whether or not the operation was successful or a failure. This means the caller is now responsible for error checking. 2014-10-14 19:31:30 -04:00
Kevin James Matzen 5a559f55c3 Switched create_cifar10.sh output from leveldb to lmdb. 2014-10-14 19:29:11 -04:00
Kevin James Matzen b1150c9ad9 Updated cifar10 build script to specify db backend. 2014-10-14 19:29:11 -04:00
Kevin James Matzen edff676ea8 Don't autocommit on close for the databases. If they were read-only, then they might fail. 2014-10-14 19:29:11 -04:00
Evan Shelhamer 22f47bb667 Merge pull request #1128 from shelhamer/default-db-lmdb
default to lmdb for database storage
2014-09-21 22:08:08 -07:00
Evan Shelhamer 73f1de4b9c switch examples to lmdb (except for custom data loaders) 2014-09-21 22:07:44 -07:00
Jeff Donahue 315ce1d706 fix cifar10 paths so they can be run from caffe root 2014-09-21 15:55:06 -07:00
Christos Nikolaou 3fc22b35b5 Update readme.md files of cifar10 and mnist examples. Fixed broken links. 2014-09-17 21:36:06 +03:00
Sergey Karayev 59fafb1f0d [docs] default setting for layout 2014-09-04 01:45:07 +01:00
Evan Shelhamer 0766cd97f8 [example] drop stale mentions of glog env var 2014-09-03 15:19:05 -07:00
Kai Li 3c9a13c5cd Move transform param one level up in the proto to reduce redundancy 2014-09-03 13:25:22 +08:00
Yung Siang Liau 190c43e06a Fix norm_region param in cifar10 deployment net 2014-08-31 01:22:04 +08:00
Evan Shelhamer e79380631f set examples paths relative to root 2014-08-28 19:33:47 -07:00
Jeff Donahue 0063028c83 remove warning about LRN layers in CPU mode 2014-08-25 16:19:52 -07:00
Evan Shelhamer 45262c8099 upgrade model definitions for transformation params 2014-08-21 22:20:21 -07:00
Sergey Karayev 9c3710eddb [docs] sorting of examples. if doesn’t work for you, update jekyll. 2014-08-11 15:09:53 -07:00
Evan Shelhamer 13d625b556 update cli usage in examples 2014-08-06 23:56:06 -07:00
Evan Shelhamer b97b88f0c2 LICENSE governs the whole project so strip file headers 2014-08-06 18:35:29 -07:00
Jeff Donahue d1d499df53 Merge pull request #856 from jeffdonahue/lint-tweaks
add header alphabetization to lint checks
2014-08-05 10:51:07 -07:00
Seiya Tokui c1faaa36ca Fix conflict on setting of LRN layers between train/test net and deploy net 2014-08-05 18:07:19 +09:00
Jeff Donahue 92f00dd3a6 Fix header alphabetization lint errors. 2014-08-04 21:26:30 -07:00
Jeff Donahue e526e2ddd7 Use unified train/test nets in examples. 2014-07-29 13:35:42 -07:00
Yangqing Jia 9862d5a4dc LOG(ERROR)->LOG(FATAL), and misc script changes. 2014-07-26 08:37:05 -07:00
Sergey Karayev 9c61462cac back-merging [docs] changes and web demo [example] addition; updating
net_surgery example to new format

Conflicts:
	docs/getting_pretrained_models.md
	docs/index.md
2014-07-12 09:25:23 -07:00
Sergey Karayev 0de282ce21 [docs] moved example md’s to examples/**/md’s and added script to gather
them for publication
2014-07-11 13:49:07 -07:00
Sergio 8d4dacf6d9 Now AccuracyLayer only computes accuracy, one should use LossLayers to compute loss
Changed all val.prototxt in examples to add a LossLayer to compute loss in Test
2014-06-20 19:56:18 -07:00
Jeff Donahue e10fb59ccd make solver_mode an enum with CPU and GPU -- fully backwards compatible
with old 0/1 style
2014-05-09 14:50:05 -07:00
Jeff Donahue 451d7e8df4 note bug in cifar10 full with CPU computation 2014-05-06 11:59:25 -07:00
Jeff Donahue 24f7318ef2 replace old cifar full with within channel LRN (per cuda-convnet
layers-18pct) -- slightly slower (5000 iters now takes 6:57; took 6:43
previously), but slightly more accurate (exactly 82% test accuracy; got
81.65% before)
2014-04-08 11:36:18 -07:00