Sergio [Tue, 2 Dec 2014 21:10:57 +0000 (13:10 -0800)]
Added bvlc_googlenet prototxt and weights
Sergio Guadarrama [Tue, 16 Dec 2014 23:32:42 +0000 (15:32 -0800)]
Merge pull request #1558 from hojonathanho/hdf5_error_msg
Check input line count in HDF5 data layer
Jonathan L Long [Tue, 16 Dec 2014 09:52:43 +0000 (01:52 -0800)]
remove extra blank line
Jonathan Ho [Thu, 11 Dec 2014 02:27:56 +0000 (18:27 -0800)]
Check input line count in HDF5 data layer
Evan Shelhamer [Mon, 8 Dec 2014 22:00:49 +0000 (17:00 -0500)]
Merge pull request #1384 from CellScope/log-parser-python
Python log parser
Daniel Golden [Mon, 3 Nov 2014 05:02:07 +0000 (21:02 -0800)]
Store data in lists of dicts and use csv package
Output format is unchanged (except that csv.DictWriter insists on writing ints as 0.0 instead of 0)
Daniel Golden [Fri, 31 Oct 2014 17:24:07 +0000 (10:24 -0700)]
Take train loss from `Iteration N, loss = X` lines
Was previously using `Train net output #M: loss = X` lines, but there may not be exactly one of those (e.g., for GoogLeNet, which has multiple loss layers); I believe that `Iteration N, loss = X` is the aggregated loss.
If there's only one loss layer, these two values will be equal and it won't matter. Otherwise, we presumably want to report the aggregated loss.
Daniel Golden [Thu, 30 Oct 2014 22:51:14 +0000 (15:51 -0700)]
Created parse_log.py, competitor to parse_log.sh
Evan Shelhamer [Mon, 8 Dec 2014 19:50:02 +0000 (14:50 -0500)]
Merge pull request #1406 from CellScope/matcaffe-osx-fix-crash-on-error
Prevent Matlab on OS X from crashing on error
Evan Shelhamer [Mon, 8 Dec 2014 19:45:50 +0000 (14:45 -0500)]
Merge pull request #1516 from drdan14/update-homebrew-install-instructions
Better instructions for updating Homebrew after modifying formulae
Evan Shelhamer [Mon, 8 Dec 2014 19:44:15 +0000 (14:44 -0500)]
Merge pull request #1527 from drdan14/classify-py-mean-dims
Update mean file help
Jonathan L Long [Sun, 7 Dec 2014 11:06:35 +0000 (03:06 -0800)]
clarify #endif comment
Daniel Golden [Wed, 3 Dec 2014 22:30:14 +0000 (14:30 -0800)]
Update mean file help
Numpy array dimensions should be [Channels x Height x Width], NOT [Height x Width x Channels]
If an image mean file is supplied with channels as the last dimension, classify.py throws errors like:
ValueError: operands could not be broadcast together with shapes (3,227,227) (256,0,225) (3,227,227)
Daniel Golden [Tue, 2 Dec 2014 19:20:58 +0000 (11:20 -0800)]
Better instructions for updating Homebrew after modifying formulae
Previous instructions glossed over how to deal with OpenCV-related update problems
Jeff Donahue [Mon, 1 Dec 2014 19:33:51 +0000 (11:33 -0800)]
Merge pull request #1505 from longjon/conv-dedup
Remove redundant code in ConvolutionLayer::Reshape
Jonathan L Long [Mon, 1 Dec 2014 05:34:29 +0000 (21:34 -0800)]
remove redundant code in ConvolutionLayer::Reshape
Jeff Donahue [Wed, 26 Nov 2014 00:17:57 +0000 (16:17 -0800)]
Merge pull request #1455 from seanbell/tanh-fix
Fix tanh layer for badly scaled input values
Jeff Donahue [Mon, 24 Nov 2014 02:29:24 +0000 (18:29 -0800)]
Merge pull request #1469 from longjon/label-lower-bound
Check both lower and upper bounds in SoftmaxLossLayer
Jonathan L Long [Mon, 24 Nov 2014 01:58:24 +0000 (17:58 -0800)]
use DCHECK in SoftmaxLossLayer so that bounds checking has no perf penalty without DEBUG
Jonathan L Long [Sat, 22 Nov 2014 19:59:07 +0000 (11:59 -0800)]
in SoftmaxLossLayer, check label >= 0 in addition to upper bound
Sean Bell [Thu, 20 Nov 2014 04:21:53 +0000 (23:21 -0500)]
Fixed header order to satisfy linter
Sean Bell [Wed, 19 Nov 2014 22:25:08 +0000 (17:25 -0500)]
fixed tanh to not return NaN for input values outside the range [-40, 40]
Yangqing Jia [Fri, 14 Nov 2014 06:14:38 +0000 (22:14 -0800)]
Merge pull request #1432 from Yangqing/dev
fix relu cudnn test bug
Yangqing Jia [Fri, 14 Nov 2014 06:05:42 +0000 (22:05 -0800)]
fix relu cudnn test bug
Yangqing Jia [Sat, 8 Nov 2014 02:29:34 +0000 (18:29 -0800)]
Merge pull request #1417 from Yangqing/dev
clean incorrect relu test code
Yangqing Jia [Sat, 8 Nov 2014 01:42:43 +0000 (17:42 -0800)]
relax benchmark milliseconds threshold
Yangqing Jia [Sat, 8 Nov 2014 01:17:49 +0000 (17:17 -0800)]
clean incorrect relu test code
Daniel Golden [Wed, 5 Nov 2014 21:36:00 +0000 (13:36 -0800)]
Prevent Matlab on OS X from crashing on error
Replace CHECK() and LOG(FATAL) with LOG(ERROR) and mexErrMsgTxt
A failed CHECK() or LOG(FATAL) causes Matlab to crash on OS X 10.9 with Matlab 2014a.
Yangqing Jia [Thu, 23 Oct 2014 06:28:46 +0000 (23:28 -0700)]
Merge pull request #1344 from baeuml/minor-whitespace-in-logging-message-fix
Minor whitespace fix in logging message in HDF5 output layer
Martin Baeuml [Wed, 22 Oct 2014 08:19:44 +0000 (10:19 +0200)]
Minor whitespace fix in logging message in HDF5 output layer
Evan Shelhamer [Tue, 21 Oct 2014 17:19:56 +0000 (10:19 -0700)]
make release, debug build dirs configurable in Makefile
Evan Shelhamer [Tue, 21 Oct 2014 17:17:11 +0000 (10:17 -0700)]
groom ignore
- re-group general and Caffe ignores
- ignore OS X files and Eclipse .settings as suggested by @cypof
Yangqing Jia [Mon, 20 Oct 2014 22:16:55 +0000 (15:16 -0700)]
Update data_transformer.hpp
Minor grammar fix in comments.
Evan Shelhamer [Mon, 20 Oct 2014 16:25:27 +0000 (09:25 -0700)]
Merge pull request #1326 from jackculpepper/absgradatzero
[fix] define gradient at zero to be zero to fix ABSVAL NaN
Jack Culpepper [Sun, 19 Oct 2014 15:31:29 +0000 (08:31 -0700)]
define gradient at zero to be zero
Evan Shelhamer [Sun, 19 Oct 2014 02:36:50 +0000 (19:36 -0700)]
Merge pull request #1319 from kmatzen/lmdb_iter_fix
LMDB read-only transaction limit fix
Sergio Guadarrama [Sat, 18 Oct 2014 15:07:31 +0000 (08:07 -0700)]
Merge pull request #1320 from sguada/remove_TIMING
Remove TIMING from ForwardBackward
Sergio [Sat, 18 Oct 2014 14:59:53 +0000 (07:59 -0700)]
Remove TIMING from ForwardBackward
Kevin James Matzen [Sat, 18 Oct 2014 06:51:29 +0000 (02:51 -0400)]
LMDB doesn't support many concurrent read-only transactions, so this preallocates one read-only transaction and reuses it. It's very important that iterations are considered invalid after a commit has been performed.
Sergey Karayev [Fri, 17 Oct 2014 18:51:27 +0000 (11:51 -0700)]
back-merge
Sergey Karayev [Fri, 17 Oct 2014 18:50:48 +0000 (11:50 -0700)]
Merge pull request #1315 from sergeyk/master
Fixing finetune_flickr_style model reported accuracy.
Sergey Karayev [Fri, 17 Oct 2014 18:34:25 +0000 (11:34 -0700)]
Fixing finetune_flickr_style model reported accuracy.
Sergio Guadarrama [Thu, 16 Oct 2014 20:35:17 +0000 (13:35 -0700)]
Merge pull request #1308 from sguada/new_lr_policies
[accidental PR: step size fix]
Evan Shelhamer [Thu, 16 Oct 2014 20:02:01 +0000 (13:02 -0700)]
Merge pull request #1309 from CellScope/edit-brew-boost-python
Edit boost-python formula for OS X 10.9 compatibility
Daniel Golden [Thu, 16 Oct 2014 19:55:53 +0000 (12:55 -0700)]
Edit boost-python formula
Sergio [Thu, 16 Oct 2014 18:17:24 +0000 (11:17 -0700)]
Fix init current_step
Yangqing Jia [Thu, 16 Oct 2014 17:58:37 +0000 (10:58 -0700)]
Merge pull request #1296 from crizCraig/patch-5
Sometimes anaconda is installed in root.
Sergio Guadarrama [Thu, 16 Oct 2014 17:48:23 +0000 (10:48 -0700)]
Merge pull request #1293 from sguada/new_lr_policies
Fixed paths for Added Multistep, Poly and Sigmoid learning rate decay policies
Craig Quiter [Thu, 16 Oct 2014 04:26:01 +0000 (21:26 -0700)]
Sometimes anaconda is installed in root.
Helps fix #489.
Sergio [Sat, 4 Oct 2014 00:14:20 +0000 (17:14 -0700)]
Adapt lenet_multistep_solver.prototxt to current solvers
Sergio Guadarrama [Thu, 16 Oct 2014 01:36:59 +0000 (18:36 -0700)]
Merge pull request #190 from sguada/new_lr_policies
New lr policies, MultiStep and StepEarly
Sergio Guadarrama [Thu, 16 Oct 2014 00:17:05 +0000 (17:17 -0700)]
Merge pull request #1239 from sguada/encoded
Allow using encoded images in Datum, LevelDB, LMDB
Sergio [Mon, 13 Oct 2014 06:16:59 +0000 (23:16 -0700)]
Added CPUTimer
Make timing more precise using double and microseconds
Sergio [Wed, 15 Oct 2014 22:36:42 +0000 (15:36 -0700)]
Upgrade compute_image_mean to use gflags, accept list_of_images, and print mean_values
Sergio [Wed, 15 Oct 2014 22:36:16 +0000 (15:36 -0700)]
Change caffe time to do forward/backward and accumulate time per layer
Sergio [Wed, 8 Oct 2014 00:19:15 +0000 (17:19 -0700)]
Added cache_images to WindowDataLayer
Added root_folder to WindowDataLayer to locate images
Sergio [Tue, 7 Oct 2014 21:14:50 +0000 (14:14 -0700)]
Speed up WindowDataLayer and add mean_values
Sergio [Tue, 7 Oct 2014 18:19:16 +0000 (11:19 -0700)]
Add root_folder to ImageDataLayer
Sergio [Wed, 15 Oct 2014 22:35:26 +0000 (15:35 -0700)]
Add fast code for transform(cv::Mat,Blob)
Sergio [Wed, 15 Oct 2014 22:35:01 +0000 (15:35 -0700)]
Added timers for benchmarking
Sergio [Tue, 7 Oct 2014 06:27:40 +0000 (23:27 -0700)]
Added test for encoded Datum to test_io.cpp
Sergio [Tue, 7 Oct 2014 01:25:28 +0000 (18:25 -0700)]
Added encoded datum to io
Sergio [Tue, 7 Oct 2014 01:05:11 +0000 (18:05 -0700)]
Added encoded option and check_size to convert_imageset
Conflicts:
tools/convert_imageset.cpp
Sergio Guadarrama [Wed, 15 Oct 2014 22:54:11 +0000 (15:54 -0700)]
Merge pull request #1288 from sguada/first_last
Added first_key and last_key to dataset
Sergio [Wed, 15 Oct 2014 16:45:09 +0000 (09:45 -0700)]
Added first_key and last_key to dataset
Sergio Guadarrama [Wed, 15 Oct 2014 19:52:21 +0000 (12:52 -0700)]
Merge pull request #1238 from kmatzen/db
leveldb/lmdb refactoring
Evan Shelhamer [Wed, 15 Oct 2014 06:48:38 +0000 (23:48 -0700)]
[docs] proofreading suggested by @cNikolaou
Jeff Donahue [Wed, 15 Oct 2014 04:22:28 +0000 (21:22 -0700)]
Merge pull request #1283 from jeffdonahue/optional-pkg-config
Reintroduce pkg-config with optional Makefile.config flag.
Jeff Donahue [Wed, 15 Oct 2014 04:03:03 +0000 (21:03 -0700)]
Reintroduce pkg-config with optional Makefile.config flag.
Kevin James Matzen [Tue, 14 Oct 2014 18:00:29 +0000 (14:00 -0400)]
Reworked the Coder interface such that a Dataset now has both user-definable KCoder and VCoder which default to a set of DefaultCoder's based on types K and V. Reworked the DefaultCoder's such that if none are available, a static assertion fails with a relevant message.
Kevin James Matzen [Tue, 14 Oct 2014 16:44:00 +0000 (12:44 -0400)]
Had forgotten to set some of the Dataset test cases to LMDB backend.
Kevin James Matzen [Mon, 13 Oct 2014 18:54:48 +0000 (14:54 -0400)]
Renamed Database interface to Dataset.
Kevin James Matzen [Mon, 13 Oct 2014 17:16:04 +0000 (13:16 -0400)]
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.
Kevin James Matzen [Mon, 13 Oct 2014 01:39:33 +0000 (21:39 -0400)]
Switched some Database logging statements from LOG to DLOG.
Kevin James Matzen [Mon, 13 Oct 2014 01:36:59 +0000 (21:36 -0400)]
Added function to Database interface to retrieve keys. Exposed a bug with LMDB iterators. Fix the bug and updated how invalid iterators are represented.
Kevin James Matzen [Mon, 13 Oct 2014 00:54:39 +0000 (20:54 -0400)]
Changed Database::buffer_t to Database::key_type and Database::value_type
Kevin James Matzen [Mon, 13 Oct 2014 00:43:01 +0000 (20:43 -0400)]
The LevelDB iterator/DB deallocation order bug is pretty much fixed by having each iterator hold a shared pointer to the DB. I manually specified a deconstructor for the LeveldbState to make it clear what order these two things need to be deallocated in.
Kevin James Matzen [Mon, 13 Oct 2014 00:30:29 +0000 (20:30 -0400)]
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.
Kevin James Matzen [Mon, 13 Oct 2014 00:20:31 +0000 (20:20 -0400)]
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.
Kevin James Matzen [Sun, 12 Oct 2014 22:43:44 +0000 (18:43 -0400)]
Added some tests for the Database iterator interface. Updated the post-increment operator so that it forks off a copy of the LevelDB or LMDB iterator/cursor when necessary. Neither of these APIs allow you to directly copy an iterator or cursor, so I create a new iterator and seek to the key that the previous one was currently on. This means the pre-increment operator can be much cheaper than the post-increment operator.
Kevin James Matzen [Sun, 12 Oct 2014 20:31:17 +0000 (16:31 -0400)]
Added get interface to Database. Added test cases for Database. Fixed a few bugs related to ReadOnly mode in Database in order to pass test cases.
Kevin James Matzen [Sun, 12 Oct 2014 18:47:04 +0000 (14:47 -0400)]
Added a couple of sanity checks to make sure the datum buffer sizes matched what we expected.
Kevin James Matzen [Sun, 12 Oct 2014 18:39:31 +0000 (14:39 -0400)]
Updated Database interface to use custom KV type rather than std::pair. Removed two buffer copies in dereference operation for DB iterators.
Kevin James Matzen [Sun, 12 Oct 2014 18:15:17 +0000 (14:15 -0400)]
Updated extract_features to take a leveldb/lmdb config option.
Kevin James Matzen [Fri, 10 Oct 2014 23:47:50 +0000 (19:47 -0400)]
Switched create_cifar10.sh output from leveldb to lmdb.
Kevin James Matzen [Wed, 8 Oct 2014 16:15:23 +0000 (16:15 +0000)]
Updated cifar10 build script to specify db backend.
Kevin James Matzen [Wed, 8 Oct 2014 02:10:20 +0000 (22:10 -0400)]
data layer test was relying on the autocommit on close db behavior that was recently removed.
Kevin James Matzen [Wed, 8 Oct 2014 01:46:15 +0000 (21:46 -0400)]
Don't autocommit on close for the databases. If they were read-only, then they might fail.
Kevin James Matzen [Tue, 7 Oct 2014 22:03:02 +0000 (18:03 -0400)]
Updated interface to make fewer string copies.
Kevin James Matzen [Tue, 7 Oct 2014 20:14:29 +0000 (16:14 -0400)]
Some cleanup to make travis happy.
Kevin James Matzen [Tue, 7 Oct 2014 19:37:35 +0000 (15:37 -0400)]
Refactored leveldb and lmdb code.
Yangqing Jia [Tue, 14 Oct 2014 20:58:06 +0000 (13:58 -0700)]
Merge pull request #1277 from Yangqing/dev
some more namespace cleaning.
Yangqing Jia [Mon, 13 Oct 2014 23:01:07 +0000 (16:01 -0700)]
some namespace cleaning.
Jeff Donahue [Tue, 14 Oct 2014 18:41:40 +0000 (11:41 -0700)]
Revert "OpenCV should be compiled using pkg-config options." -- breaks
compilation on working systems
This reverts commit
4587b2f9043996fed36fc989c00329ec829ecae9.
Evan Shelhamer [Tue, 14 Oct 2014 17:18:20 +0000 (10:18 -0700)]
[examples] fix reference model name for flickr fine-tuning
Yangqing Jia [Mon, 13 Oct 2014 22:53:51 +0000 (15:53 -0700)]
Merge pull request #1270 from Yangqing/dev
Give back to layer what is layer's, and to factory what is factory's
Yangqing Jia [Mon, 13 Oct 2014 22:25:41 +0000 (15:25 -0700)]
move registration code to corresponding cpp files.
Yangqing Jia [Mon, 13 Oct 2014 20:56:26 +0000 (13:56 -0700)]
Merge pull request #1269 from Yangqing/dev
Minor change: some namespace simplification
Yangqing Jia [Mon, 13 Oct 2014 20:48:27 +0000 (13:48 -0700)]
some namespace simplification
Yangqing Jia [Sun, 12 Oct 2014 00:41:48 +0000 (17:41 -0700)]
Merge pull request #1264 from Yangqing/dev
Clean flaky code