Sergio [Sat, 18 Oct 2014 14:59:53 +0000 (07:59 -0700)]
Remove TIMING from ForwardBackward
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
Yangqing Jia [Sat, 11 Oct 2014 19:35:40 +0000 (19:35 +0000)]
fix flaky math functions, remove unnecessary instantiations.
Yangqing Jia [Sat, 11 Oct 2014 19:35:06 +0000 (19:35 +0000)]
fix flaky test EXPECT_EQ code, using EXPECT_FLOAT_NEAR per Jeff
Evan Shelhamer [Sat, 11 Oct 2014 21:44:59 +0000 (14:44 -0700)]
Merge pull request #1261 from kmatzen/minor_changes
[fix] build with OpenCV 3 and other minor fixes
Kevin James Matzen [Fri, 10 Oct 2014 22:42:27 +0000 (18:42 -0400)]
Fixed CMakeList to work with OpenCV 3.
Kevin James Matzen [Mon, 29 Sep 2014 16:45:25 +0000 (12:45 -0400)]
Added version dependent test for IMREAD_COLOR.
Kevin James Matzen [Tue, 23 Sep 2014 15:29:31 +0000 (11:29 -0400)]
OpenCV should be compiled using pkg-config options.
Kevin James Matzen [Tue, 23 Sep 2014 14:47:40 +0000 (10:47 -0400)]
Minor fixes. (1) cudnn.hpp uses CHECK_EQ internally, so it needs to include glog at some point. Including caffe/common.hpp. (2) I often misconfigure some layer and softmax breaks when the dimensionality is too small for the input layers. Check and fail fast. (3) CV_LOAD_IMAGE_COLOR is deprecated and has been removed in OpenCV 3.0. Replaced with cv::IMREAD_COLOR.
Evan Shelhamer [Sat, 11 Oct 2014 07:25:27 +0000 (00:25 -0700)]
[docs] pip install harder
Evan Shelhamer [Sat, 11 Oct 2014 07:05:57 +0000 (00:05 -0700)]
[docs] pip install packages in order for dependencies
Yangqing Jia [Sat, 11 Oct 2014 05:08:55 +0000 (22:08 -0700)]
Merge pull request #1258 from Yangqing/instantiation
fix instantiation per C++ standard
Yangqing Jia [Sat, 11 Oct 2014 05:01:28 +0000 (05:01 +0000)]
adding missing libraries - lm and lstdc++
Sergio [Sat, 4 Oct 2014 00:14:20 +0000 (17:14 -0700)]
Added Multistep, Poly and Sigmoid learning rate decay policies
Conflicts:
include/caffe/solver.hpp
src/caffe/proto/caffe.proto
src/caffe/solver.cpp
Yangqing Jia [Fri, 10 Oct 2014 04:41:11 +0000 (21:41 -0700)]
fix instantiation
Evan Shelhamer [Fri, 10 Oct 2014 07:16:31 +0000 (00:16 -0700)]
Merge pull request #1195 from longjon/python-copy-from
Expose Net.copy_from and Net.share_with in pycaffe
Evan Shelhamer [Fri, 10 Oct 2014 06:59:10 +0000 (23:59 -0700)]
[docs] note boost 1.56 an CUDA conflict on OS X
Evan Shelhamer [Fri, 10 Oct 2014 05:43:36 +0000 (22:43 -0700)]
[docs] update homebrew instructions for boost and boost-python split
Evan Shelhamer [Fri, 10 Oct 2014 04:01:41 +0000 (21:01 -0700)]
[example] re-title LeNet / MNIST heading too
Evan Shelhamer [Fri, 10 Oct 2014 04:00:03 +0000 (21:00 -0700)]
[example] add LeNet to MNIST title, fix paths to be from root
Evan Shelhamer [Thu, 9 Oct 2014 02:56:07 +0000 (19:56 -0700)]
[example] fix data script paths for flickr fine-tuning
Evan Shelhamer [Wed, 8 Oct 2014 23:54:18 +0000 (16:54 -0700)]
Merge pull request #1206 from BlGene/dev
Fix python plugin to work with new layer factory in CMake build
max argus [Sat, 4 Oct 2014 11:46:38 +0000 (11:46 +0000)]
Fix CMake build of pycaffe
- generate right shared library name
- fix CMake linking with the new layer factory
- find numpy
Fix finding protobuf.
Evan Shelhamer [Wed, 8 Oct 2014 16:58:49 +0000 (09:58 -0700)]
Merge pull request #1227 from longjon/crash-backtrace
Use glog to provide a backtrace on crash
Evan Shelhamer [Wed, 8 Oct 2014 16:57:56 +0000 (09:57 -0700)]
Merge pull request #1226 from longjon/check-solver-prototxt
[fix] check solver prototxt parsing
Evan Shelhamer [Wed, 8 Oct 2014 16:54:32 +0000 (09:54 -0700)]
Merge pull request #1232 from baeuml/cmake-move-dependency-discovery
[cmake] move dependency discovery to root CMakeLists.txt
Martin Baeuml [Tue, 7 Oct 2014 08:35:00 +0000 (10:35 +0200)]
[cmake] move dependency finding to root CMakeLists.txt
In this way, custom include directories for the dependencies are
also available for tools/ and the bindings. This is necessary for
example when someone is using custom built dependencies which are
not installed in the system's default directories (e.g. OpenCV includes
are required in tools/ through io.hpp)
Jonathan L Long [Mon, 6 Oct 2014 23:35:33 +0000 (16:35 -0700)]
correct naming in comment and message about average_loss
Jeff Donahue [Sat, 4 Oct 2014 17:00:59 +0000 (10:00 -0700)]
SliceLayer: fix whitespace
Jonathan L Long [Mon, 6 Oct 2014 20:27:10 +0000 (13:27 -0700)]
use glog to provide a backtrace on crash
Jonathan L Long [Mon, 6 Oct 2014 19:34:18 +0000 (12:34 -0700)]
[fix] check solver prototxt parsing
Evan Shelhamer [Mon, 6 Oct 2014 15:14:37 +0000 (08:14 -0700)]
Merge pull request #1223 from baeuml/fix_pthread_link_cmake
[fix] set pthread last in linking order for gflags for CMake
Evan Shelhamer [Mon, 6 Oct 2014 14:50:25 +0000 (07:50 -0700)]
Merge pull request #1179 from ducha-aiki/fix_pthread_link
[fix] put pthread last in order for gflags
Martin Baeuml [Mon, 6 Oct 2014 11:48:29 +0000 (13:48 +0200)]
change linking order such that pthread comes in the back
This resolves an error with the static gflags library which would
other wise not link properly with an undefined reference to symbol 'pthread_rwlock_wrlock@@GLIBC_2.2.5'
error under Ubuntu 14.04.
Dmytro Mishkin [Mon, 6 Oct 2014 07:32:47 +0000 (10:32 +0300)]
change -lpthread to -pthread in linking
Compilation flags is already there
Sergio Guadarrama [Mon, 6 Oct 2014 02:37:59 +0000 (19:37 -0700)]
Merge pull request #1221 from sguada/fix_cuddn_pooling
Missing param.pad condition for CUDNN pooling
Sergio [Sun, 5 Oct 2014 21:34:55 +0000 (14:34 -0700)]
Missing param.pad condition for CUDNN pooling
Sergio Guadarrama [Sat, 4 Oct 2014 02:18:48 +0000 (19:18 -0700)]
Merge pull request #1070 from sguada/move_data_mean
Refactor data_transform to allow datum, cv:Mat and Blob transformation
Evan Shelhamer [Sat, 4 Oct 2014 01:03:02 +0000 (18:03 -0700)]
uin8 spell check
Evan Shelhamer [Sat, 4 Oct 2014 01:02:32 +0000 (18:02 -0700)]
bundle pixel mean into CaffeNet as comments