platform/upstream/caffeonacl.git
10 years agoMove semicolon to appease lint
Jonathan L Long [Mon, 17 Mar 2014 23:46:47 +0000 (16:46 -0700)]
Move semicolon to appease lint

10 years agoFix indentation in C++ Python module
Jonathan L Long [Sat, 15 Mar 2014 09:40:16 +0000 (02:40 -0700)]
Fix indentation in C++ Python module

10 years agoAdd extra comment on vector_indexing_suite to _caffe.cpp
Jonathan L Long [Tue, 11 Mar 2014 05:06:03 +0000 (22:06 -0700)]
Add extra comment on vector_indexing_suite to _caffe.cpp

10 years agoRemove spurious constructors from CaffeBlob and CaffeBlobWrap
Jonathan L Long [Tue, 11 Mar 2014 05:04:46 +0000 (22:04 -0700)]
Remove spurious constructors from CaffeBlob and CaffeBlobWrap

This prevents accidental construction of partially-specified blobs,
which could break the Python layer.

10 years agoAdd names to the blobs returned by CaffeLayer
Jonathan L Long [Tue, 11 Mar 2014 05:02:08 +0000 (22:02 -0700)]
Add names to the blobs returned by CaffeLayer

Even though these are redundant, this keeps the meaning of
CaffeBlob.name consistent for now, and will allow CaffeBlob construction
to be simplified.

10 years agoExpose caffe.Net.params as an OrderedDict
Jonathan L Long [Tue, 11 Mar 2014 04:51:25 +0000 (21:51 -0700)]
Expose caffe.Net.params as an OrderedDict

10 years agoExpose layers and remove now-redundant params in Python interface
Jonathan L Long [Tue, 11 Mar 2014 04:46:36 +0000 (21:46 -0700)]
Expose layers and remove now-redundant params in Python interface

For now, only layer names and blobs are accessible, but more
functionality (layer Forward and Backward) could be added later.

10 years agoUpdate imagenet/wrapper.py to use the new Net interface
Jonathan L Long [Tue, 11 Mar 2014 03:39:31 +0000 (20:39 -0700)]
Update imagenet/wrapper.py to use the new Net interface

10 years agoUpdate detector.py to use the new Net/blobs interface
Jonathan L Long [Tue, 11 Mar 2014 03:38:39 +0000 (20:38 -0700)]
Update detector.py to use the new Net/blobs interface

10 years agoUse an OrderedDict for caffe.Net.blobs
Jonathan L Long [Tue, 11 Mar 2014 03:33:31 +0000 (20:33 -0700)]
Use an OrderedDict for caffe.Net.blobs

10 years agoAdd a pass-through Python wrapper of _caffe.CaffeNet
Jonathan L Long [Tue, 11 Mar 2014 03:06:18 +0000 (20:06 -0700)]
Add a pass-through Python wrapper of _caffe.CaffeNet

This commit restores caffe.pycaffe as Python code that wraps
caffe._caffe. It also renames caffe.CaffeNet as the less-redundant
caffe.Net.

10 years agoRename pycaffe.cpp -> _caffe.cpp in preparation for python wrapper
Jonathan L Long [Tue, 11 Mar 2014 03:00:01 +0000 (20:00 -0700)]
Rename pycaffe.cpp -> _caffe.cpp in preparation for python wrapper

This commit should not break any code which does not refer explicitly to
caffe.pycaffe.

10 years agopycaffe: blobs and params are properties, not methods
Jonathan L Long [Sat, 1 Mar 2014 09:48:06 +0000 (01:48 -0800)]
pycaffe: blobs and params are properties, not methods

10 years agoMerge pull request #200 from longjon/pycaffe-forwardprefilled
Sergey Karayev [Thu, 13 Mar 2014 18:12:01 +0000 (11:12 -0700)]
Merge pull request #200 from longjon/pycaffe-forwardprefilled

Expose ForwardPrefilled in pycaffe

10 years agopycaffe: expose ForwardPrefilled
Jonathan L Long [Thu, 20 Feb 2014 07:12:46 +0000 (23:12 -0800)]
pycaffe: expose ForwardPrefilled

This allows, for example, a net taking input from a LevelDB to be run
through a Python script.

10 years agoMerge pull request #134 from mavenlin/computemean
Evan Shelhamer [Tue, 11 Mar 2014 01:31:38 +0000 (18:31 -0700)]
Merge pull request #134 from mavenlin/computemean

Allow single data in computation of the data mean.

10 years agomove if outside of forloop
linmin [Fri, 21 Feb 2014 03:25:22 +0000 (11:25 +0800)]
move if outside of forloop

10 years agocompute data mean for float_data
linmin [Thu, 20 Feb 2014 05:44:14 +0000 (13:44 +0800)]
compute data mean for float_data

10 years agoBack-merge documentation updates from master
Evan Shelhamer [Fri, 28 Feb 2014 21:49:44 +0000 (13:49 -0800)]
Back-merge documentation updates from master

Draft development guidelines, link from README
minor readme polish
add hardware notes to installation
outline pull request etiquette
polish doc build and deploy and allow other remotes
fix path for mnist leveldb creation
fix examples shell scripts: too many dollar signs, not enough coffee
fix formatting + notebook url of 8c245b5
update detection example post re-arrangement in #124

10 years agoDraft development guidelines, link from README
Evan Shelhamer [Fri, 28 Feb 2014 21:01:11 +0000 (13:01 -0800)]
Draft development guidelines, link from README

10 years agominor readme polish
Evan Shelhamer [Fri, 28 Feb 2014 19:41:24 +0000 (11:41 -0800)]
minor readme polish

10 years agoMerge pull request #181 from chyojn/absolute_path_of_script
Evan Shelhamer [Fri, 28 Feb 2014 18:42:02 +0000 (10:42 -0800)]
Merge pull request #181 from chyojn/absolute_path_of_script

use absolute path in parselog script

10 years agoMerge pull request #125 from sguada/concat_layer
Jeff Donahue [Fri, 28 Feb 2014 08:23:33 +0000 (00:23 -0800)]
Merge pull request #125 from sguada/concat_layer

Concat layer

10 years agouse absolute path in script
chyojn [Fri, 28 Feb 2014 06:46:13 +0000 (14:46 +0800)]
use absolute path in script

10 years agoSplited concat_layer into .cpp and .cu, cleaned lint errors
Sergio Guadarrama [Fri, 28 Feb 2014 03:11:52 +0000 (19:11 -0800)]
Splited concat_layer into .cpp and .cu, cleaned lint errors

10 years agoFixed test to pass and don't exhaustive search since it takes too long
sguada [Thu, 27 Feb 2014 06:33:57 +0000 (22:33 -0800)]
Fixed test to pass and don't exhaustive search since it takes too long

10 years agoAdded Tests for Concat Layer, and passed
sguada [Tue, 18 Feb 2014 02:16:38 +0000 (18:16 -0800)]
Added Tests for Concat Layer, and passed

10 years agoAdded concat_dim to caffe.proto and ConcatLayer to set of layers
sguada [Tue, 18 Feb 2014 01:08:30 +0000 (17:08 -0800)]
Added concat_dim to caffe.proto and ConcatLayer to set of layers

10 years agoCode for concat_layer for concat along num and channels dimensions
Sergio Guadarrama [Mon, 17 Feb 2014 21:43:05 +0000 (13:43 -0800)]
Code for concat_layer for concat along num and channels dimensions

10 years agofix include order for pycaffe on osx, override lint
Evan Shelhamer [Thu, 27 Feb 2014 23:53:32 +0000 (15:53 -0800)]
fix include order for pycaffe on osx, override lint

10 years agoadd hardware notes to installation
Evan Shelhamer [Thu, 27 Feb 2014 09:21:16 +0000 (01:21 -0800)]
add hardware notes to installation

10 years agooutline pull request etiquette
Evan Shelhamer [Thu, 27 Feb 2014 09:05:13 +0000 (01:05 -0800)]
outline pull request etiquette

10 years agoMerge pull request #176 from jeffdonahue/osx-make-lint-fix
Evan Shelhamer [Thu, 27 Feb 2014 08:48:21 +0000 (00:48 -0800)]
Merge pull request #176 from jeffdonahue/osx-make-lint-fix

Fix 'make lint' in OSX

10 years agofix 'make lint' in OSX:
Jeff Donahue [Thu, 27 Feb 2014 08:33:48 +0000 (00:33 -0800)]
fix 'make lint' in OSX:
seems that NONGEN_CXX_SRCS wasn't getting populated in OSX due to some
disagreement in the regex formatting in find...give up on that and use
an ugly but reliable chain of -name ... -or -name ...

10 years agoMerge pull request #172 from erictzeng/split_cuda
Evan Shelhamer [Thu, 27 Feb 2014 05:14:34 +0000 (21:14 -0800)]
Merge pull request #172 from erictzeng/split_cuda

Split source files between CUDA and CPU code. Pave the way for #3 and #122.

10 years agopolish doc build and deploy and allow other remotes
Evan Shelhamer [Thu, 27 Feb 2014 04:52:08 +0000 (20:52 -0800)]
polish doc build and deploy and allow other remotes

10 years agofix path for mnist leveldb creation
Evan Shelhamer [Thu, 27 Feb 2014 04:06:21 +0000 (20:06 -0800)]
fix path for mnist leveldb creation

10 years agofix examples shell scripts: too many dollar signs, not enough coffee
Evan Shelhamer [Thu, 27 Feb 2014 04:03:46 +0000 (20:03 -0800)]
fix examples shell scripts: too many dollar signs, not enough coffee

10 years agofix formatting + notebook url of 8c245b5
Evan Shelhamer [Thu, 27 Feb 2014 03:51:52 +0000 (19:51 -0800)]
fix formatting + notebook url of 8c245b5

10 years agoupdate detection example post re-arrangement in #124
Evan Shelhamer [Thu, 27 Feb 2014 03:26:38 +0000 (19:26 -0800)]
update detection example post re-arrangement in #124

10 years agoSplitting source files between CUDA and CPU code.
Eric Tzeng [Thu, 27 Feb 2014 02:45:45 +0000 (18:45 -0800)]
Splitting source files between CUDA and CPU code.

10 years agoMerge pull request #168 from jeffdonahue/fix-lint-bugs
Evan Shelhamer [Thu, 27 Feb 2014 01:56:57 +0000 (17:56 -0800)]
Merge pull request #168 from jeffdonahue/fix-lint-bugs

Fix bugs introduced by lint

10 years agofix python/matlab wrapper bugs introduced by lint; change linter->lint
Jeff Donahue [Wed, 26 Feb 2014 16:49:27 +0000 (08:49 -0800)]
fix python/matlab wrapper bugs introduced by lint; change linter->lint
in Makefile

10 years agomake lint will not rerun if successful and no source files have been
Jeff Donahue [Wed, 26 Feb 2014 08:41:19 +0000 (00:41 -0800)]
make lint will not rerun if successful and no source files have been
changed; saves output to build/cpp_lint.log (or build/cpp_lint.error_log
on failure)

10 years agoMerge pull request #163 from jeffdonahue/linter
Evan Shelhamer [Wed, 26 Feb 2014 06:02:55 +0000 (22:02 -0800)]
Merge pull request #163 from jeffdonahue/linter

Lint C++ (suffer for fashion)

10 years agocpplint.py -> cpp_lint.py and NOLINT_NEXTLINE -> NOLINT_NEXT_LINE
Jeff Donahue [Wed, 26 Feb 2014 05:56:49 +0000 (21:56 -0800)]
cpplint.py -> cpp_lint.py and NOLINT_NEXTLINE -> NOLINT_NEXT_LINE

10 years agoadd new tools dir to linted dir list
Jeff Donahue [Wed, 26 Feb 2014 05:20:16 +0000 (21:20 -0800)]
add new tools dir to linted dir list

10 years agofix linter errors in examples
Jeff Donahue [Wed, 26 Feb 2014 04:39:01 +0000 (20:39 -0800)]
fix linter errors in examples

10 years agoadd examples, python, matlab to NONGEN_CXX_SRCS so they are linted as
Jeff Donahue [Wed, 26 Feb 2014 02:58:49 +0000 (18:58 -0800)]
add examples, python, matlab to NONGEN_CXX_SRCS so they are linted as
well

10 years agofix compiler warning for test_hdf5data_layer
Jeff Donahue [Wed, 26 Feb 2014 01:47:01 +0000 (17:47 -0800)]
fix compiler warning for test_hdf5data_layer

10 years agofix post-rebase linter errors
Jeff Donahue [Wed, 26 Feb 2014 01:35:38 +0000 (17:35 -0800)]
fix post-rebase linter errors

10 years agolong -> int64_t; all linter errors fixed. woohoo!
Jeff Donahue [Wed, 26 Feb 2014 00:12:47 +0000 (16:12 -0800)]
long -> int64_t; all linter errors fixed. woohoo!

10 years agohandle linter stream errors
Jeff Donahue [Wed, 26 Feb 2014 00:03:46 +0000 (16:03 -0800)]
handle linter stream errors

10 years agoallow TODO without username
Jeff Donahue [Wed, 26 Feb 2014 00:01:05 +0000 (16:01 -0800)]
allow TODO without username

10 years agomake test_gradient_check_util methods use pointers for non-const inputs
Jeff Donahue [Tue, 25 Feb 2014 23:58:20 +0000 (15:58 -0800)]
make test_gradient_check_util methods use pointers for non-const inputs
(also change EXPECT_LT and EXPECT_GT pair to EXPECT_NEAR)

10 years agofix most linter errors
Jeff Donahue [Tue, 25 Feb 2014 23:21:23 +0000 (15:21 -0800)]
fix most linter errors

10 years agoadd NOLINT_NEXTLINE to suppress linter errors on nextline
Jeff Donahue [Tue, 25 Feb 2014 21:39:20 +0000 (13:39 -0800)]
add NOLINT_NEXTLINE to suppress linter errors on nextline

10 years agoexclude proto generated files from lint
Jeff Donahue [Tue, 25 Feb 2014 20:49:57 +0000 (12:49 -0800)]
exclude proto generated files from lint

10 years agoadd hpp to valid cpplint extensions
Jeff Donahue [Tue, 25 Feb 2014 20:47:25 +0000 (12:47 -0800)]
add hpp to valid cpplint extensions

10 years agofix matcaffe and pycaffe linter errors
Jeff Donahue [Tue, 25 Feb 2014 20:13:31 +0000 (12:13 -0800)]
fix matcaffe and pycaffe linter errors

10 years agosuppress linter errors due to not including the directory when naming .h
Jeff Donahue [Tue, 25 Feb 2014 20:00:41 +0000 (12:00 -0800)]
suppress linter errors due to not including the directory when naming .h
files

10 years agoReverse the order of hdf5_hl hdf5 as LIBRARIES in Makefile
Kai Li [Wed, 26 Feb 2014 03:14:51 +0000 (11:14 +0800)]
Reverse the order of hdf5_hl hdf5 as LIBRARIES in Makefile

10 years agoadd cpplint.py and "make lint" to run on all c source files
Jeff Donahue [Tue, 25 Feb 2014 19:44:28 +0000 (11:44 -0800)]
add cpplint.py and "make lint" to run on all c source files

10 years agoMerge pull request #147 from sergeyk/hdf5_data
Sergey Karayev [Tue, 25 Feb 2014 22:16:13 +0000 (14:16 -0800)]
Merge pull request #147 from sergeyk/hdf5_data

HDF5DataLayer: read matrix of features and labels from HDF5 file as input

10 years agoname blobs and params for their layers in python wrapper
Evan Shelhamer [Sat, 15 Feb 2014 09:39:14 +0000 (01:39 -0800)]
name blobs and params for their layers in python wrapper

note that pairs of params with the same layer name are the
params & bias

10 years agominor comment edit
Sergey Karayev [Tue, 25 Feb 2014 06:35:33 +0000 (22:35 -0800)]
minor comment edit

10 years agoHDF5DataLayer, with test.
Sergey Karayev [Sun, 23 Feb 2014 20:29:14 +0000 (12:29 -0800)]
HDF5DataLayer, with test.

10 years agoAdding GPU coverage to the DataLayer test.
Sergey Karayev [Sun, 23 Feb 2014 21:02:32 +0000 (13:02 -0800)]
Adding GPU coverage to the DataLayer test.

10 years agoMerge pull request #128 from mavenlin/pad-im2col
Evan Shelhamer [Tue, 25 Feb 2014 05:37:38 +0000 (21:37 -0800)]
Merge pull request #128 from mavenlin/pad-im2col

im2col and col2im learn to pad and padding layer is obsolete

10 years agoremove cuda_timer as is no longer needed
linmin [Tue, 25 Feb 2014 04:58:23 +0000 (12:58 +0800)]
remove cuda_timer as is no longer needed

10 years agoremove padding_layer and its test
linmin [Tue, 25 Feb 2014 04:56:51 +0000 (12:56 +0800)]
remove padding_layer and its test

10 years agounified to padding aware version
linmin [Tue, 25 Feb 2014 04:48:21 +0000 (12:48 +0800)]
unified to padding aware version

remove test code (no longer needed and won't compile)

10 years agoremove padding layers in imagenet definitions
linmin [Tue, 25 Feb 2014 02:09:58 +0000 (10:09 +0800)]
remove padding layers in imagenet definitions

10 years agoremove the pad=0 case in conv_layer and im2col_layer
linmin [Tue, 25 Feb 2014 01:59:30 +0000 (09:59 +0800)]
remove the pad=0 case in conv_layer and im2col_layer

10 years agoadd code to measure timing
linmin [Tue, 18 Feb 2014 10:57:51 +0000 (18:57 +0800)]
add code to measure timing

10 years agoadd test code to test the padding aware im2col col2im functions
linmin [Fri, 14 Feb 2014 08:01:38 +0000 (16:01 +0800)]
add test code to test the padding aware im2col col2im functions

10 years agoimplemented padding aware im2col and col2im functions
linmin [Wed, 12 Feb 2014 04:13:51 +0000 (12:13 +0800)]
implemented padding aware im2col and col2im functions

10 years agoMerge pull request #167 from BVLC/next
Evan Shelhamer [Wed, 26 Feb 2014 23:32:42 +0000 (15:32 -0800)]
Merge pull request #167 from BVLC/next

So be it.

10 years agoDefine split layer (merge trick)
Evan Shelhamer [Wed, 26 Feb 2014 22:56:37 +0000 (14:56 -0800)]
Define split layer (merge trick)

Originally authored by Jeff Donahue, but this commit was needed for
historical reasons.

10 years agoMerge pull request #129 from jeffdonahue/dags-by-split
Evan Shelhamer [Wed, 26 Feb 2014 22:41:57 +0000 (14:41 -0800)]
Merge pull request #129 from jeffdonahue/dags-by-split

Welcome to the model of forking paths.

10 years agominor cleanup; only get blob_name if needed
Jeff Donahue [Tue, 18 Feb 2014 21:29:13 +0000 (13:29 -0800)]
minor cleanup; only get blob_name if needed

10 years agoadd idempotence test
Jeff Donahue [Tue, 18 Feb 2014 21:01:10 +0000 (13:01 -0800)]
add idempotence test

10 years agoadd imagenet no split insertion test
Jeff Donahue [Tue, 18 Feb 2014 20:55:09 +0000 (12:55 -0800)]
add imagenet no split insertion test

10 years agofix split layer insertion bug with in-place layers
Jeff Donahue [Tue, 18 Feb 2014 20:27:24 +0000 (12:27 -0800)]
fix split layer insertion bug with in-place layers

10 years agoremove unnecessary include
Jeff Donahue [Sun, 16 Feb 2014 20:31:40 +0000 (12:31 -0800)]
remove unnecessary include

10 years agoeliminate some cruft by relying on std::map default initializations
Jeff Donahue [Sun, 16 Feb 2014 19:11:03 +0000 (11:11 -0800)]
eliminate some cruft by relying on std::map default initializations

10 years agoget rid of messy snprintf string concatenation
Jeff Donahue [Sun, 16 Feb 2014 18:02:42 +0000 (10:02 -0800)]
get rid of messy snprintf string concatenation

10 years agoget_split_blob_name returns a string to remove some verbosity
Jeff Donahue [Sun, 16 Feb 2014 11:18:39 +0000 (03:18 -0800)]
get_split_blob_name returns a string to remove some verbosity

10 years agoremove redundant add_bottom (immediately cleared and then re-added)
Jeff Donahue [Sun, 16 Feb 2014 10:02:32 +0000 (02:02 -0800)]
remove redundant add_bottom (immediately cleared and then re-added)

10 years agoadd test for layer with two tops that are inputs to multiple layers
Jeff Donahue [Sun, 16 Feb 2014 09:49:27 +0000 (01:49 -0800)]
add test for layer with two tops that are inputs to multiple layers

10 years agofix comment typo
Jeff Donahue [Sun, 16 Feb 2014 09:38:32 +0000 (01:38 -0800)]
fix comment typo

10 years agoremove pointlessly duplicated CheckGradientExhaustive calls (I screwed
Jeff Donahue [Sun, 16 Feb 2014 00:48:10 +0000 (16:48 -0800)]
remove pointlessly duplicated CheckGradientExhaustive calls (I screwed
up when merging, I think)

10 years agochange \" in test_split_layer to ' for readability
Jeff Donahue [Sun, 16 Feb 2014 00:38:47 +0000 (16:38 -0800)]
change \" in test_split_layer to ' for readability

10 years agoallow in place computation of SplitLayer 0th top blob
Jeff Donahue [Sun, 16 Feb 2014 00:28:44 +0000 (16:28 -0800)]
allow in place computation of SplitLayer 0th top blob

10 years agogive first top split blob same name as bottom blob
Jeff Donahue [Sun, 16 Feb 2014 00:00:44 +0000 (16:00 -0800)]
give first top split blob same name as bottom blob

10 years agochange \n's to less distracting spaces in hard-coded proto strings
Jeff Donahue [Sat, 15 Feb 2014 23:56:15 +0000 (15:56 -0800)]
change \n's to less distracting spaces in hard-coded proto strings

10 years agoeliminate redundant code with get_split_blob_name method
Jeff Donahue [Sat, 15 Feb 2014 23:52:48 +0000 (15:52 -0800)]
eliminate redundant code with get_split_blob_name method

10 years agosome cleanup
Jeff Donahue [Sat, 15 Feb 2014 22:51:37 +0000 (14:51 -0800)]
some cleanup

10 years agoadd split layer insertion tests; move split insertion code to util file
Jeff Donahue [Sat, 15 Feb 2014 22:39:44 +0000 (14:39 -0800)]
add split layer insertion tests; move split insertion code to util file

10 years agoadd split layer tests
Jeff Donahue [Sat, 15 Feb 2014 20:24:00 +0000 (12:24 -0800)]
add split layer tests