platform/upstream/caffeonacl.git
10 years agomake all tools backwards compatible with v0 net param
Jeff Donahue [Sun, 23 Mar 2014 21:26:31 +0000 (14:26 -0700)]
make all tools backwards compatible with v0 net param

10 years agoupgrade images layer
Jeff Donahue [Sun, 23 Mar 2014 21:14:17 +0000 (14:14 -0700)]
upgrade images layer

10 years agoupgrade remaining prototxts
Jeff Donahue [Fri, 21 Mar 2014 23:42:33 +0000 (16:42 -0700)]
upgrade remaining prototxts

10 years agoupgrade_net_proto: allow input files already in new proto format
Jeff Donahue [Fri, 21 Mar 2014 23:05:41 +0000 (16:05 -0700)]
upgrade_net_proto: allow input files already in new proto format

10 years agofix upgrade_net_proto name
Jeff Donahue [Fri, 21 Mar 2014 22:58:06 +0000 (15:58 -0700)]
fix upgrade_net_proto name

10 years agoincorporate WindowDataLayer into V0Upgrade and add tests
Jeff Donahue [Fri, 21 Mar 2014 22:53:35 +0000 (15:53 -0700)]
incorporate WindowDataLayer into V0Upgrade and add tests

10 years agoupdate deprecated protos to latest dev versions
Jeff Donahue [Fri, 21 Mar 2014 22:37:43 +0000 (15:37 -0700)]
update deprecated protos to latest dev versions

10 years agomake test_protobuf use NONE for dummy layer instead of SPLIT
Jeff Donahue [Fri, 21 Mar 2014 22:20:43 +0000 (15:20 -0700)]
make test_protobuf use NONE for dummy layer instead of SPLIT

10 years agosome naming standardization: ImagesLayer -> ImageDataLayer (like other
Jeff Donahue [Fri, 21 Mar 2014 22:14:08 +0000 (15:14 -0700)]
some naming standardization: ImagesLayer -> ImageDataLayer (like other
data layers), and load_hdf5_file_data -> LoadHDF5FileData

10 years agoalphabetize classes in vision_layers.hpp
Jeff Donahue [Fri, 21 Mar 2014 22:01:55 +0000 (15:01 -0700)]
alphabetize classes in vision_layers.hpp

10 years agosome cleanup - lowercase layer class member variable names
Jeff Donahue [Fri, 21 Mar 2014 21:48:31 +0000 (14:48 -0700)]
some cleanup - lowercase layer class member variable names

10 years agoremove padding layer
Jeff Donahue [Fri, 21 Mar 2014 21:33:42 +0000 (14:33 -0700)]
remove padding layer

10 years agofix test_net for refactor
Jeff Donahue [Fri, 21 Mar 2014 21:04:11 +0000 (14:04 -0700)]
fix test_net for refactor

10 years agoincorporate WindowDataLayer
Jeff Donahue [Fri, 21 Mar 2014 20:45:38 +0000 (13:45 -0700)]
incorporate WindowDataLayer

10 years agorebase and fix stuff, incorporate image and padding layers
Jeff Donahue [Tue, 18 Mar 2014 20:40:39 +0000 (13:40 -0700)]
rebase and fix stuff, incorporate image and padding layers

10 years agofix layertype alphabetization
Jeff Donahue [Mon, 17 Mar 2014 19:38:11 +0000 (12:38 -0700)]
fix layertype alphabetization

10 years agofix lint errors
Jeff Donahue [Mon, 17 Mar 2014 19:21:24 +0000 (12:21 -0700)]
fix lint errors

10 years agofix post-rebase param bugs
Jeff Donahue [Mon, 17 Mar 2014 18:35:01 +0000 (11:35 -0700)]
fix post-rebase param bugs

10 years agoconvert existing models to new format (used tools/upgrade_net_proto with
Jeff Donahue [Mon, 17 Mar 2014 13:22:29 +0000 (06:22 -0700)]
convert existing models to new format (used tools/upgrade_net_proto with
no manual editing)

10 years agoLayerType enum
Jeff Donahue [Mon, 17 Mar 2014 13:20:55 +0000 (06:20 -0700)]
LayerType enum

10 years agoput inputs before layers in the proto so they print in that order
Jeff Donahue [Mon, 17 Mar 2014 12:24:53 +0000 (05:24 -0700)]
put inputs before layers in the proto so they print in that order

10 years agoadd test for input/input_dim and fix bug, wasn't copying input
Jeff Donahue [Mon, 17 Mar 2014 12:18:55 +0000 (05:18 -0700)]
add test for input/input_dim and fix bug, wasn't copying input

10 years agoadd upgrade_net_proto tool
Jeff Donahue [Mon, 17 Mar 2014 11:35:31 +0000 (04:35 -0700)]
add upgrade_net_proto tool

10 years agofix insert_splits for new layer param format
Jeff Donahue [Mon, 17 Mar 2014 10:45:09 +0000 (03:45 -0700)]
fix insert_splits for new layer param format

10 years agoadd test which includes upgraded params
Jeff Donahue [Mon, 17 Mar 2014 10:30:49 +0000 (03:30 -0700)]
add test which includes upgraded params

10 years agoadd imagenet upgrade test and fix bug in upgrade_proto
Jeff Donahue [Mon, 17 Mar 2014 10:04:35 +0000 (03:04 -0700)]
add imagenet upgrade test and fix bug in upgrade_proto

10 years agomore padding layer upgrade tests
Jeff Donahue [Mon, 17 Mar 2014 09:08:09 +0000 (02:08 -0700)]
more padding layer upgrade tests

10 years agoimagenet padding upgrade test
Jeff Donahue [Mon, 17 Mar 2014 08:58:29 +0000 (01:58 -0700)]
imagenet padding upgrade test

10 years agoset correct bottom blob name in upgraded conv layer
Jeff Donahue [Mon, 17 Mar 2014 08:40:03 +0000 (01:40 -0700)]
set correct bottom blob name in upgraded conv layer

10 years agofunction to upgrade padding layers
Jeff Donahue [Mon, 17 Mar 2014 08:21:06 +0000 (01:21 -0700)]
function to upgrade padding layers

10 years agomake solver use upgrade_proto (by constructing net with a string) and
Jeff Donahue [Sat, 15 Mar 2014 11:12:45 +0000 (04:12 -0700)]
make solver use upgrade_proto (by constructing net with a string) and
fix upgrade_proto bugs

10 years agoadd deprecated protos to PROTO_OBJS in makefile so things compile; other
Jeff Donahue [Sat, 15 Mar 2014 11:04:18 +0000 (04:04 -0700)]
add deprecated protos to PROTO_OBJS in makefile so things compile; other
minor cleanup of includes etc

10 years agomake ReadProtoFromTextFile not die on parse failure; add
Jeff Donahue [Sat, 15 Mar 2014 09:33:40 +0000 (02:33 -0700)]
make ReadProtoFromTextFile not die on parse failure; add
ReadProtoFromTextFileOrDie which has the old functionality

10 years agoadd V0NetParameter and UpgradeV0Net
Jeff Donahue [Sat, 15 Mar 2014 09:15:44 +0000 (02:15 -0700)]
add V0NetParameter and UpgradeV0Net

10 years agocaffe.proto: layer->layers
Jeff Donahue [Sat, 15 Mar 2014 08:44:03 +0000 (01:44 -0700)]
caffe.proto: layer->layers

10 years agoadd v0->v1 'bridge' proto and add util that uses it
Jeff Donahue [Sat, 15 Mar 2014 08:11:33 +0000 (01:11 -0700)]
add v0->v1 'bridge' proto and add util that uses it

10 years agomove caffe.proto.v0 -> deprecated/caffe.v0.proto and add separate target
Jeff Donahue [Sat, 15 Mar 2014 05:24:12 +0000 (22:24 -0700)]
move caffe.proto.v0 -> deprecated/caffe.v0.proto and add separate target
makefile target for it

10 years agoupdate tests for new proto format; now they compile
Jeff Donahue [Sat, 15 Mar 2014 03:56:07 +0000 (20:56 -0700)]
update tests for new proto format; now they compile

10 years agochanges to layers etc to make 'make all' run successfully under new
Jeff Donahue [Sat, 15 Mar 2014 00:59:28 +0000 (17:59 -0700)]
changes to layers etc to make 'make all' run successfully under new
caffe.proto

10 years agoadd duplicated params from InnerProductParam to ConvolutionParam and
Jeff Donahue [Sat, 15 Mar 2014 00:57:26 +0000 (17:57 -0700)]
add duplicated params from InnerProductParam to ConvolutionParam and
PoolingParam etc, create InfogainLossParam

10 years agoHDF5DataParameter message and concat_param
Jeff Donahue [Sat, 15 Mar 2014 00:30:42 +0000 (17:30 -0700)]
HDF5DataParameter message and concat_param

10 years agoNetParameter.layers -> layer
Jeff Donahue [Sat, 15 Mar 2014 00:13:59 +0000 (17:13 -0700)]
NetParameter.layers -> layer

10 years agoremove LayerConnection from proto, bottom and top now in LayerParameter
Jeff Donahue [Fri, 14 Mar 2014 23:55:09 +0000 (16:55 -0700)]
remove LayerConnection from proto, bottom and top now in LayerParameter

10 years agomove LayerParameter and individual layer param messages to bottom of
Jeff Donahue [Fri, 14 Mar 2014 23:50:47 +0000 (16:50 -0700)]
move LayerParameter and individual layer param messages to bottom of
caffe.proto

10 years agomove individual layer parameters to individual proto messages
Jeff Donahue [Fri, 14 Mar 2014 23:44:52 +0000 (16:44 -0700)]
move individual layer parameters to individual proto messages

10 years agocreate file caffe.proto.v0 which duplicates current caffe.proto
Jeff Donahue [Fri, 14 Mar 2014 23:18:37 +0000 (16:18 -0700)]
create file caffe.proto.v0 which duplicates current caffe.proto

10 years agofix caffe.proto style bugs
Jeff Donahue [Fri, 14 Mar 2014 23:15:42 +0000 (16:15 -0700)]
fix caffe.proto style bugs

10 years agoMerge pull request #266 from longjon/toomanyargs
Evan Shelhamer [Fri, 28 Mar 2014 06:04:08 +0000 (23:04 -0700)]
Merge pull request #266 from longjon/toomanyargs

Passing too many args to tool binaries is an error

10 years agoMerge pull request #268 from longjon/debug
Jeff Donahue [Fri, 28 Mar 2014 03:23:45 +0000 (20:23 -0700)]
Merge pull request #268 from longjon/debug

Add DEBUG option to Makefile/Makefile.config.example

10 years agoadd DEBUG option to Makefile/Makefile.config.example
Jonathan L Long [Fri, 21 Mar 2014 22:15:00 +0000 (15:15 -0700)]
add DEBUG option to Makefile/Makefile.config.example

This allows debugging to be toggled without dirtying the tree.

10 years agotools should have nonzero error exit codes
Jonathan L Long [Thu, 27 Mar 2014 23:39:05 +0000 (16:39 -0700)]
tools should have nonzero error exit codes

10 years agopassing too many args to tool binaries is an error
Jonathan L Long [Thu, 27 Mar 2014 22:11:17 +0000 (15:11 -0700)]
passing too many args to tool binaries is an error

10 years agoMerge pull request #265 from jeffdonahue/hdf5-output-tmpfile-fix
Jeff Donahue [Thu, 27 Mar 2014 20:15:34 +0000 (13:15 -0700)]
Merge pull request #265 from jeffdonahue/hdf5-output-tmpfile-fix

Change hdf5 output layer test output file to use tmpnam

10 years agochange hdf5 output layer test output file to a tmpnam rather than
Jeff Donahue [Thu, 27 Mar 2014 20:08:00 +0000 (13:08 -0700)]
change hdf5 output layer test output file to a tmpnam rather than
hard-coded path

10 years agoinstallation proofreading, split parallel compilation
Evan Shelhamer [Thu, 27 Mar 2014 18:42:04 +0000 (11:42 -0700)]
installation proofreading, split parallel compilation

10 years agoMerge pull request #255 from shelhamer/copyright-credit
Evan Shelhamer [Thu, 27 Mar 2014 18:30:24 +0000 (11:30 -0700)]
Merge pull request #255 from shelhamer/copyright-credit

Standardize copyright, add root-level CONTRIBUTORS credit, note copyright assignment

10 years agonote copyright assignment in development guide
Evan Shelhamer [Thu, 27 Mar 2014 18:29:32 +0000 (11:29 -0700)]
note copyright assignment in development guide

10 years agoStandardize copyright, add root-level CONTRIBUTORS credit
Evan Shelhamer [Mon, 24 Mar 2014 18:22:56 +0000 (11:22 -0700)]
Standardize copyright, add root-level CONTRIBUTORS credit

10 years agoMerge pull request #260 from kloudkl/fix_doc_typos
Jeff Donahue [Wed, 26 Mar 2014 06:10:00 +0000 (23:10 -0700)]
Merge pull request #260 from kloudkl/fix_doc_typos

Fix doc typos

10 years agoremoving lena in favor of cat
Sergey Karayev [Wed, 26 Mar 2014 02:54:30 +0000 (19:54 -0700)]
removing lena in favor of cat

10 years agoAdd packages installation command for CentOS/RHEL
Kai Li [Wed, 26 Mar 2014 02:53:13 +0000 (10:53 +0800)]
Add packages installation command for CentOS/RHEL

10 years agoFix imagenet pretrained links
Kai Li [Wed, 26 Mar 2014 02:43:35 +0000 (10:43 +0800)]
Fix imagenet pretrained links

10 years agoAdd in doc how to remove leveldb dir if existed
Kai Li [Wed, 26 Mar 2014 02:38:57 +0000 (10:38 +0800)]
Add in doc how to remove leveldb dir if existed

10 years agoFix feature extraction reference model path and file list command bugs
Kai Li [Wed, 26 Mar 2014 02:28:10 +0000 (10:28 +0800)]
Fix feature extraction reference model path and file list command bugs

10 years agofixed compilation error on window_data_layer.cu in 10.8
Sergey Karayev [Tue, 25 Mar 2014 21:48:08 +0000 (14:48 -0700)]
fixed compilation error on window_data_layer.cu in 10.8

10 years agoAdd headers to build on OS X
Kai Li [Tue, 25 Mar 2014 04:03:06 +0000 (12:03 +0800)]
Add headers to build on OS X

10 years agoSeparate WindowDataLayer::Forward_gpu into a cu file
Kai Li [Mon, 24 Mar 2014 01:47:00 +0000 (09:47 +0800)]
Separate WindowDataLayer::Forward_gpu into a cu file

10 years agoSeparate ImagesLayer::Forward_gpu into a cu file
Kai Li [Mon, 24 Mar 2014 01:46:43 +0000 (09:46 +0800)]
Separate ImagesLayer::Forward_gpu into a cu file

10 years agoMerge pull request #201 from kloudkl/more_math_functions
Evan Shelhamer [Mon, 24 Mar 2014 23:13:52 +0000 (16:13 -0700)]
Merge pull request #201 from kloudkl/more_math_functions

Add more convenience math functions and all tests pass

10 years agoMerge pull request #252 from kloudkl/hdf5_output_layer
Sergey Karayev [Mon, 24 Mar 2014 07:47:58 +0000 (00:47 -0700)]
Merge pull request #252 from kloudkl/hdf5_output_layer

Hdf5 output layer

10 years agoSeparate HDF5OutputLayer::Forward_gpu/Backward_gpu into cu file
Kai Li [Mon, 24 Mar 2014 01:37:21 +0000 (09:37 +0800)]
Separate HDF5OutputLayer::Forward_gpu/Backward_gpu into cu file

10 years agoFixed CPPLint errors related to math funtions
Kai Li [Tue, 18 Mar 2014 07:22:14 +0000 (15:22 +0800)]
Fixed CPPLint errors related to math funtions

10 years agoRename signbit in macros to sgnbit to avoid conflicts with std::signbit
Kai Li [Tue, 11 Mar 2014 09:05:27 +0000 (17:05 +0800)]
Rename signbit in macros to sgnbit to avoid conflicts with std::signbit

10 years agoAdd signbit math func, simplify GPU defs & instantiations with a macro
Kai Li [Wed, 26 Feb 2014 03:23:20 +0000 (11:23 +0800)]
Add signbit math func, simplify GPU defs & instantiations with a macro

10 years agoAdd and test non-in-place scale math functions for CPU and GPU
Kai Li [Tue, 25 Feb 2014 12:26:55 +0000 (20:26 +0800)]
Add and test non-in-place scale math functions for CPU and GPU

10 years agoUse macro to simplify element wise cpu math functions
Kai Li [Tue, 25 Feb 2014 12:06:05 +0000 (20:06 +0800)]
Use macro to simplify element wise cpu math functions

10 years agoAdd and test element wise abs math functions for CPU and GPU
Kai Li [Tue, 25 Feb 2014 11:33:10 +0000 (19:33 +0800)]
Add and test element wise abs math functions for CPU and GPU

10 years agoInstantiate caffe_cpu_sign for float and double
Kai Li [Tue, 25 Feb 2014 11:21:18 +0000 (19:21 +0800)]
Instantiate caffe_cpu_sign for float and double

10 years agoAdd and test element wise sign math funtions for CPU and GPU
Kai Li [Tue, 25 Feb 2014 11:16:44 +0000 (19:16 +0800)]
Add and test element wise sign math funtions for CPU and GPU

10 years agoAdd and test sum of absolute values math functions for CPU and GPU
Kai Li [Tue, 25 Feb 2014 10:41:45 +0000 (18:41 +0800)]
Add and test sum of absolute values math functions for CPU and GPU

10 years agoRebase and change the HDF5OutputLayer::Forward/Backward signatures
Kai Li [Sun, 23 Mar 2014 12:30:52 +0000 (20:30 +0800)]
Rebase and change the HDF5OutputLayer::Forward/Backward signatures

10 years agoAdd HDF5OutputLayer to the layer factory
Kai Li [Sun, 23 Mar 2014 11:05:05 +0000 (19:05 +0800)]
Add HDF5OutputLayer to the layer factory

10 years agoImplement and test HDF5OutputLayer
Kai Li [Sun, 23 Mar 2014 11:03:21 +0000 (19:03 +0800)]
Implement and test HDF5OutputLayer

10 years agoImplement HDF5 save dataset IO utility function
Kai Li [Sun, 23 Mar 2014 11:02:53 +0000 (19:02 +0800)]
Implement HDF5 save dataset IO utility function

10 years agoMerge pull request #165 from BVLC/boost-eigen
Evan Shelhamer [Sun, 23 Mar 2014 05:53:42 +0000 (22:53 -0700)]
Merge pull request #165 from BVLC/boost-eigen

MKL/non-MKL Reconciliation

Caffe no longer requires MKL. By default it builds without it, relying on atlas and cblas instead. Set the `USE_MKL` var in your Makefile.config accordingly.

10 years agoSet copyright to BVLC and contributors.
Evan Shelhamer [Sat, 22 Mar 2014 08:27:42 +0000 (01:27 -0700)]
Set copyright to BVLC and contributors.

The exact details of the contributions are recorded by versioning.

10 years agoHide boost rng behind facade for osx compatibility
Evan Shelhamer [Sat, 22 Mar 2014 06:47:01 +0000 (23:47 -0700)]
Hide boost rng behind facade for osx compatibility

Split boost random number generation from the common Caffe singleton and
add a helper function for rng. This resolves a build conflict in OSX
between boost rng and nvcc compilation of cuda code.

Refer to #165 for a full discussion.

Thanks to @satol for suggesting a random number generation facade rather
than a total split of cpp and cu code, which is far more involved.

10 years agolint
Evan Shelhamer [Fri, 21 Mar 2014 22:50:43 +0000 (15:50 -0700)]
lint

10 years agoclean up residual mkl comments and code
Evan Shelhamer [Fri, 21 Mar 2014 21:58:11 +0000 (14:58 -0700)]
clean up residual mkl comments and code

The FIXMEs about RNG were addressed by caffe_nextafter for
uniform distributions and the normal distribution concern is surely a
typo in the boost documentation, since the normal pdf is correctly
stated elsewhere in the documentation.

10 years agoAdded extern C wrapper to cblas.h include
James Thewlis [Mon, 3 Mar 2014 17:43:20 +0000 (17:43 +0000)]
Added extern C wrapper to cblas.h include

This ensures that it works with ATLAS's header file, which doesn't include such
a guard itself (whereas the reference version from Ubuntu's libblas-dev does)

10 years agoFixed order of cblas and atlas linker flags
jamt9000 [Mon, 3 Mar 2014 17:07:23 +0000 (17:07 +0000)]
Fixed order of cblas and atlas linker flags

They were the wrong way round, causing linking to fail in some cases

10 years agocomment out stray mkl includes
Evan Shelhamer [Thu, 27 Feb 2014 06:41:58 +0000 (22:41 -0800)]
comment out stray mkl includes

10 years agomake MKL switch surprise-proof
Evan Shelhamer [Tue, 18 Feb 2014 19:10:23 +0000 (11:10 -0800)]
make MKL switch surprise-proof

10 years agorewrite MKL flag note, polish makefile
Evan Shelhamer [Sat, 15 Feb 2014 05:27:20 +0000 (21:27 -0800)]
rewrite MKL flag note, polish makefile

add MKL dirs conditioned on USE_MKL
include libraries before making LD_FLAGS

10 years agomajor refactoring allow coexistence of MKL and non-MKL cases
Rowland Depp [Wed, 12 Feb 2014 05:41:01 +0000 (21:41 -0800)]
major refactoring allow coexistence of MKL and non-MKL cases

10 years agoReplace atlas with multithreaded OpenBLAS to speed-up on multi-core CPU
Kai Li [Fri, 7 Feb 2014 10:44:10 +0000 (18:44 +0800)]
Replace atlas with multithreaded OpenBLAS to speed-up on multi-core CPU

issue: #79

10 years agofix bernoulli generator bug
Jeff Donahue [Wed, 29 Jan 2014 21:11:34 +0000 (13:11 -0800)]
fix bernoulli generator bug

10 years agoadd bernoulli rng test to demonstrate bug (generates all 0s unless p ==
Jeff Donahue [Wed, 29 Jan 2014 21:03:42 +0000 (13:03 -0800)]
add bernoulli rng test to demonstrate bug (generates all 0s unless p ==
1)

10 years agochange all Rng's to use variate_generator for consistency
Jeff Donahue [Wed, 22 Jan 2014 20:42:12 +0000 (12:42 -0800)]
change all Rng's to use variate_generator for consistency

10 years agouse boost variate_generator to pass tests w/ boost 1.46 (Gaussian filler
Jeff Donahue [Wed, 22 Jan 2014 20:28:01 +0000 (12:28 -0800)]
use boost variate_generator to pass tests w/ boost 1.46 (Gaussian filler
previously filled in all NaNs for me, making many tests fail)