platform/upstream/caffe.git
10 years agocaffe.Net preprocessing members belong to object, not class
Evan Shelhamer [Tue, 27 May 2014 04:50:39 +0000 (21:50 -0700)]
caffe.Net preprocessing members belong to object, not class

10 years agoMerge pull request #445 from jeffdonahue/convert_imageset_resize_option
Evan Shelhamer [Mon, 26 May 2014 17:50:09 +0000 (10:50 -0700)]
Merge pull request #445 from jeffdonahue/convert_imageset_resize_option

Optionally resize an image set to canonical dimensions when converting.
Do this by default for creating the imagenet train + val leveldbs.

10 years agoconvert imageset comment fixup
Evan Shelhamer [Mon, 26 May 2014 17:50:00 +0000 (10:50 -0700)]
convert imageset comment fixup

10 years agoMerge pull request #456 from longjon/spurious-ldflags
Evan Shelhamer [Mon, 26 May 2014 16:54:20 +0000 (09:54 -0700)]
Merge pull request #456 from longjon/spurious-ldflags

Don't pass LDFLAGS when only performing compilation (-c)

10 years agodon't pass LDFLAGS when only compiling
Jonathan L Long [Mon, 26 May 2014 08:34:32 +0000 (01:34 -0700)]
don't pass LDFLAGS when only compiling

10 years ago10.9 install doc formatting
Evan Shelhamer [Sun, 25 May 2014 23:19:14 +0000 (16:19 -0700)]
10.9 install doc formatting

10 years agoBack-merge recent fixes from master to dev
Evan Shelhamer [Sun, 25 May 2014 04:41:16 +0000 (21:41 -0700)]
Back-merge recent fixes from master to dev

fix OSX 10.9 compiler/stdlib override for latest homebrew
follow-up on #443 to invert k channels (instead of 3)
Correctly invert the swapping of colour channels
link presentation on dropbox (was self-hosted during a dropbox issue)
link to demo
fix draw_net python script
release v1 model defs + weights
point out @niuzhiheng's work on the Windows port
fix test_all path in docs
link canonical bvlc site
fix detection notebook link

10 years agofix OSX 10.9 compiler/stdlib override for latest homebrew
Evan Shelhamer [Sun, 25 May 2014 04:06:37 +0000 (21:06 -0700)]
fix OSX 10.9 compiler/stdlib override for latest homebrew

10 years agoMerge pull request #448 from jeffdonahue/sguada-fix_maxpooling
Sergio Guadarrama [Sun, 25 May 2014 02:39:58 +0000 (19:39 -0700)]
Merge pull request #448 from jeffdonahue/sguada-fix_maxpooling

Finish up max pooling with a mask from @sguada
Tested

10 years agomerge caffe_set definitions; define for int as well
Jeff Donahue [Sun, 25 May 2014 02:02:51 +0000 (19:02 -0700)]
merge caffe_set definitions; define for int as well

10 years agoadd tests for maxpooling layer forward, and for maxpooling with top mask
Jeff Donahue [Sun, 25 May 2014 01:40:03 +0000 (18:40 -0700)]
add tests for maxpooling layer forward, and for maxpooling with top mask

10 years agooptionally output the mask to a top blob instead of storing internally
Jeff Donahue [Sun, 25 May 2014 01:09:05 +0000 (18:09 -0700)]
optionally output the mask to a top blob instead of storing internally

10 years agomake a Blob<unsigned int> and use in dropout layer
Jeff Donahue [Sat, 24 May 2014 23:59:15 +0000 (16:59 -0700)]
make a Blob<unsigned int> and use in dropout layer

10 years agouse a Blob<int> instead of a SyncedMemory to store max_idx_
Jeff Donahue [Sat, 24 May 2014 23:27:38 +0000 (16:27 -0700)]
use a Blob<int> instead of a SyncedMemory to store max_idx_

10 years agobugfix: setting count to the top count in backward doesn't process all
Jeff Donahue [Sat, 24 May 2014 23:14:44 +0000 (16:14 -0700)]
bugfix: setting count to the top count in backward doesn't process all
of the bottom (assuming the bottom is larger, which happens for
nontrivial poolsize>1)

10 years agomask should be const in backward pass
Jeff Donahue [Sat, 24 May 2014 23:14:04 +0000 (16:14 -0700)]
mask should be const in backward pass

10 years agoremove commented out code
Jeff Donahue [Sat, 24 May 2014 23:10:23 +0000 (16:10 -0700)]
remove commented out code

10 years agolint and make compilable (using static_cast's found a couple bugs at
Jeff Donahue [Sat, 24 May 2014 22:29:35 +0000 (15:29 -0700)]
lint and make compilable (using static_cast's found a couple bugs at
compile time)

10 years agoAdapted to V1 proto definition, test don't pass
Sergio [Mon, 14 Apr 2014 04:03:06 +0000 (21:03 -0700)]
Adapted to V1 proto definition, test don't pass

10 years agoCommented Atomic Add, back to loop in GPU MaxPoolBackward
Sergio [Mon, 14 Apr 2014 03:29:26 +0000 (20:29 -0700)]
Commented Atomic Add, back to loop in GPU MaxPoolBackward

10 years agoAttempt to use AtomicAdd but it seems slower
Sergio [Mon, 14 Apr 2014 03:27:16 +0000 (20:27 -0700)]
Attempt to use AtomicAdd but it seems slower

10 years agoAdded test for maxpool layer followed by dropout
Sergio [Wed, 26 Feb 2014 01:29:43 +0000 (17:29 -0800)]
Added test for maxpool layer followed by dropout

10 years agoUse loops in GPU again to avoid over-writting of bottom_diff
Sergio [Mon, 14 Apr 2014 03:21:15 +0000 (20:21 -0700)]
Use loops in GPU again to avoid over-writting of bottom_diff

10 years agoFixed parameter order
Sergio [Mon, 14 Apr 2014 03:14:43 +0000 (20:14 -0700)]
Fixed parameter order

10 years agoCleaned prints from test_pooling_layer.cpp
Sergio [Mon, 14 Apr 2014 03:13:05 +0000 (20:13 -0700)]
Cleaned prints from test_pooling_layer.cpp

10 years agoSet bottom_diff to 0 and remove Async memcopy
Sergio [Mon, 14 Apr 2014 03:11:49 +0000 (20:11 -0700)]
Set bottom_diff to 0 and remove Async memcopy

10 years agoRemove top_data from backward Max Pooling
Sergio [Mon, 14 Apr 2014 03:10:10 +0000 (20:10 -0700)]
Remove top_data from backward Max Pooling

10 years agoUse mask_idx to compute backward Max Pooling
Sergio [Mon, 14 Apr 2014 03:06:38 +0000 (20:06 -0700)]
Use mask_idx to compute backward Max Pooling

10 years agoAdded test for Pooling layer GPU
Sergio [Mon, 14 Apr 2014 03:02:34 +0000 (20:02 -0700)]
Added test for  Pooling layer GPU

10 years agoAdded max_idx to Pooling layer GPU
Sergio [Mon, 14 Apr 2014 02:58:05 +0000 (19:58 -0700)]
Added max_idx to Pooling layer GPU

10 years agoDefault mask idx is -1
Sergio Guadarrama [Tue, 25 Feb 2014 01:36:17 +0000 (17:36 -0800)]
Default mask idx is -1

10 years agoAdded max_idx to Pooling layer CPU
Sergio [Mon, 14 Apr 2014 02:49:02 +0000 (19:49 -0700)]
Added max_idx to Pooling layer CPU

10 years agoadd convert_imageset option to resize images; use in
Jeff Donahue [Fri, 23 May 2014 21:57:02 +0000 (14:57 -0700)]
add convert_imageset option to resize images; use in
convert_imageset.cpp and document

10 years agofollow-up on #443 to invert k channels (instead of 3)
Evan Shelhamer [Fri, 23 May 2014 16:13:44 +0000 (09:13 -0700)]
follow-up on #443 to invert k channels (instead of 3)

10 years agoCorrectly invert the swapping of colour channels
James Thewlis [Fri, 23 May 2014 14:59:52 +0000 (15:59 +0100)]
Correctly invert the swapping of colour channels

In the 'deprocess' method, get back the image with the original channel order
by inverting the original transform, rather than reversing the tuple which is
incorrect.

10 years agofollow-up on #443 to invert k channels (instead of 3)
Evan Shelhamer [Fri, 23 May 2014 16:13:44 +0000 (09:13 -0700)]
follow-up on #443 to invert k channels (instead of 3)

10 years agoMerge pull request #443 from jamt9000/correct-deprocess
Evan Shelhamer [Fri, 23 May 2014 16:02:43 +0000 (09:02 -0700)]
Merge pull request #443 from jamt9000/correct-deprocess

Correctly invert the swapping of colour channels in Python API 'deprocess'

10 years agoCorrectly invert the swapping of colour channels
James Thewlis [Fri, 23 May 2014 14:59:52 +0000 (15:59 +0100)]
Correctly invert the swapping of colour channels

In the 'deprocess' method, get back the image with the original channel order
by inverting the original transform, rather than reversing the tuple which is
incorrect.

10 years agoMerge pull request #433 from shelhamer/eltwise
Evan Shelhamer [Fri, 23 May 2014 04:27:54 +0000 (21:27 -0700)]
Merge pull request #433 from shelhamer/eltwise

Elementwise layer takes sum or product; caffe_gpu_{add,sub}

10 years agocommment, lint
Evan Shelhamer [Fri, 23 May 2014 04:24:16 +0000 (21:24 -0700)]
commment, lint

10 years agoweight elementwise sum with per-blob coefficients
Evan Shelhamer [Fri, 23 May 2014 03:12:11 +0000 (20:12 -0700)]
weight elementwise sum with per-blob coefficients

10 years agolink presentation on dropbox (was self-hosted during a dropbox issue)
Evan Shelhamer [Fri, 23 May 2014 01:24:09 +0000 (18:24 -0700)]
link presentation on dropbox (was self-hosted during a dropbox issue)

10 years agolink to demo
Sergey Karayev [Fri, 23 May 2014 01:18:25 +0000 (18:18 -0700)]
link to demo

10 years agomake sum the default eltwise operation
Evan Shelhamer [Fri, 23 May 2014 00:41:24 +0000 (17:41 -0700)]
make sum the default eltwise operation

10 years agofix layer name in logging
Evan Shelhamer [Thu, 22 May 2014 09:13:04 +0000 (02:13 -0700)]
fix layer name in logging

10 years agoMerge pull request #435 from shelhamer/v1-models
Evan Shelhamer [Thu, 22 May 2014 08:04:36 +0000 (01:04 -0700)]
Merge pull request #435 from shelhamer/v1-models

Release v1 model defs + weights

10 years agofix draw_net python script
Evan Shelhamer [Thu, 22 May 2014 08:02:56 +0000 (01:02 -0700)]
fix draw_net python script

include caffe.draw for drawing functions.

10 years agorelease v1 model defs + weights
Evan Shelhamer [Thu, 22 May 2014 07:56:35 +0000 (00:56 -0700)]
release v1 model defs + weights

- Caffe reference ImageNet model
- AlexNet

Note that one can upgrade the weights locally by
`upgrade_net_proto_binary.bin` to avoid re-downloading.

10 years agoMerge pull request #434 from shelhamer/little-cat
Evan Shelhamer [Thu, 22 May 2014 07:50:04 +0000 (00:50 -0700)]
Merge pull request #434 from shelhamer/little-cat

Reduce example image size

10 years agoreduce example image size
Evan Shelhamer [Thu, 22 May 2014 07:30:12 +0000 (00:30 -0700)]
reduce example image size

10 years agopoint out @niuzhiheng's work on the Windows port
Evan Shelhamer [Thu, 22 May 2014 06:43:49 +0000 (23:43 -0700)]
point out @niuzhiheng's work on the Windows port

10 years agoadd EltwiseLayer docstring
Evan Shelhamer [Thu, 22 May 2014 02:47:15 +0000 (19:47 -0700)]
add EltwiseLayer docstring

10 years agoElementwise layer learns summation
Evan Shelhamer [Thu, 22 May 2014 02:31:47 +0000 (19:31 -0700)]
Elementwise layer learns summation

10 years agoadd caffe_gpu_add() and caffe_gpu_sub()
Evan Shelhamer [Thu, 22 May 2014 01:57:33 +0000 (18:57 -0700)]
add caffe_gpu_add() and caffe_gpu_sub()

10 years agoEltwiseProductLayer -> EltwiseLayer for generality
Evan Shelhamer [Thu, 22 May 2014 01:38:19 +0000 (18:38 -0700)]
EltwiseProductLayer -> EltwiseLayer for generality

Reproduce elementwise product layer in more generality.
Add elementwise operation parameter.
Prepare for elementwise sum operation choice.

10 years agofix test_all path in docs
Evan Shelhamer [Wed, 21 May 2014 17:52:45 +0000 (10:52 -0700)]
fix test_all path in docs

10 years agoRevert "setting canonical random seed"
Evan Shelhamer [Wed, 21 May 2014 05:33:29 +0000 (22:33 -0700)]
Revert "setting canonical random seed"

1701 is the canonical random seed, and as this test makes only one call
for seeding there's no need for a member var.

10 years agoMerge pull request #421 from sguada/argmax_layer
Sergey Karayev [Wed, 21 May 2014 04:49:04 +0000 (21:49 -0700)]
Merge pull request #421 from sguada/argmax_layer

10 years agosetting canonical random seed
Sergey Karayev [Wed, 21 May 2014 04:48:23 +0000 (21:48 -0700)]
setting canonical random seed

10 years agoFixed lint errors due to ArgmaxLayer
Sergey Karayev [Wed, 21 May 2014 04:32:19 +0000 (21:32 -0700)]
Fixed lint errors due to ArgmaxLayer

10 years agoDocumented ArgMax layer in vision_layers.hpp
Sergey Karayev [Wed, 21 May 2014 04:32:07 +0000 (21:32 -0700)]
Documented ArgMax layer in vision_layers.hpp

10 years agocorrected the caffe.proto ids
Sergey Karayev [Wed, 21 May 2014 04:24:03 +0000 (21:24 -0700)]
corrected the caffe.proto ids

10 years agoChange ArgMaxLayerParam to ArgMaxParam for consitency
Sergio Guadarrama [Fri, 16 May 2014 01:02:08 +0000 (18:02 -0700)]
Change ArgMaxLayerParam to ArgMaxParam for consitency

10 years agoChange ThresholdLayer to ArgMaxLayer in test_argmax
Sergio Guadarrama [Fri, 16 May 2014 01:01:04 +0000 (18:01 -0700)]
Change ThresholdLayer to ArgMaxLayer in test_argmax

10 years agoFixed name of blob_bottom_
Sergio Guadarrama [Thu, 15 May 2014 23:55:45 +0000 (16:55 -0700)]
Fixed name of blob_bottom_

10 years agoFixed name of ArgMaxLayerParameter
Sergio Guadarrama [Thu, 15 May 2014 23:54:21 +0000 (16:54 -0700)]
Fixed name of ArgMaxLayerParameter

10 years agoAdded missing ;
Sergio Guadarrama [Thu, 15 May 2014 23:43:01 +0000 (16:43 -0700)]
Added missing ;

10 years agoAdded FLT_MAX to argmax layer
Sergio Guadarrama [Thu, 15 May 2014 23:09:07 +0000 (16:09 -0700)]
Added FLT_MAX to argmax layer

10 years agoFix types of ArgMax Layers params
Sergio Guadarrama [Fri, 16 May 2014 00:42:38 +0000 (17:42 -0700)]
Fix types of ArgMax Layers params

Conflicts:

include/caffe/vision_layers.hpp
src/caffe/proto/caffe.proto

10 years agoFixed numbers in proto and name of ArgMaxParameter
Sergio Guadarrama [Fri, 16 May 2014 00:39:52 +0000 (17:39 -0700)]
Fixed numbers in proto and name of ArgMaxParameter

Conflicts:

src/caffe/proto/caffe.proto

10 years agoAdded Test for ArgMax Layer
Sergio [Thu, 15 May 2014 16:49:36 +0000 (09:49 -0700)]
Added Test for ArgMax Layer

10 years agoAdded ArgMax Layer
Sergio Guadarrama [Fri, 16 May 2014 00:38:03 +0000 (17:38 -0700)]
Added ArgMax Layer

Conflicts:

src/caffe/proto/caffe.proto

10 years agoMerge pull request #404 from jeffdonahue/net-param-in-solver
Evan Shelhamer [Tue, 20 May 2014 22:03:54 +0000 (15:03 -0700)]
Merge pull request #404 from jeffdonahue/net-param-in-solver

Specify net params in solver; log {Net,Solver} parameters; multiple test nets

10 years agolink canonical bvlc site
Evan Shelhamer [Tue, 20 May 2014 21:44:47 +0000 (14:44 -0700)]
link canonical bvlc site

10 years agolink canonical bvlc site
Evan Shelhamer [Tue, 20 May 2014 21:44:47 +0000 (14:44 -0700)]
link canonical bvlc site

10 years agofix detection notebook link
Evan Shelhamer [Tue, 20 May 2014 21:42:37 +0000 (14:42 -0700)]
fix detection notebook link

10 years agofix detection notebook link
Evan Shelhamer [Tue, 20 May 2014 21:42:37 +0000 (14:42 -0700)]
fix detection notebook link

10 years agoMerge pull request #429 from shelhamer/next
Evan Shelhamer [Tue, 20 May 2014 21:20:15 +0000 (14:20 -0700)]
Merge pull request #429 from shelhamer/next

Next: 0.999

10 years agoBack-merge changes in master
Evan Shelhamer [Tue, 20 May 2014 19:44:51 +0000 (12:44 -0700)]
Back-merge changes in master

* master:
  bundle presentation in gh-pages for now...
  fix typo pointed out by @yinxusen
  note support for non-MKL installation in dev
  include pretrained snapshot and performance details
  Document AlexNet model, include download script
  define AlexNet architecture
  polished ignore

10 years agoMerge pull request #311 from shelhamer/python-fixes
Evan Shelhamer [Tue, 20 May 2014 19:20:00 +0000 (12:20 -0700)]
Merge pull request #311 from shelhamer/python-fixes

Improve python wrapper

10 years agoupdate notebook examples with new wrapper usage, re-organize
Evan Shelhamer [Tue, 20 May 2014 08:04:17 +0000 (01:04 -0700)]
update notebook examples with new wrapper usage, re-organize

10 years agopreprocess single inputs instead of lists
Evan Shelhamer [Tue, 20 May 2014 18:41:42 +0000 (11:41 -0700)]
preprocess single inputs instead of lists

For compositionality and expectations.

10 years agowindowed detection in python
Evan Shelhamer [Tue, 20 May 2014 06:50:15 +0000 (23:50 -0700)]
windowed detection in python

10 years agosquash infuriating loop assignment bug in batching
Evan Shelhamer [Tue, 20 May 2014 05:55:50 +0000 (22:55 -0700)]
squash infuriating loop assignment bug in batching

10 years agoimage classification in python
Evan Shelhamer [Mon, 19 May 2014 22:31:49 +0000 (15:31 -0700)]
image classification in python

10 years agofix padding for the last batch
Evan Shelhamer [Mon, 19 May 2014 01:25:18 +0000 (18:25 -0700)]
fix padding for the last batch

10 years agosplit drawnet into module code and script
Evan Shelhamer [Mon, 19 May 2014 00:14:53 +0000 (17:14 -0700)]
split drawnet into module code and script

Don't run scripts in the module dir to avoid import collisions between
io and caffe.io.

10 years agoadd caffe.io submodule for conversions, image loading and resizing
Evan Shelhamer [Mon, 19 May 2014 00:13:05 +0000 (17:13 -0700)]
add caffe.io submodule for conversions, image loading and resizing

10 years agofix python mean subtraction
Evan Shelhamer [Mon, 19 May 2014 00:11:38 +0000 (17:11 -0700)]
fix python mean subtraction

10 years agoMerge pull request #376 from sergeyk/layer_reorg
Sergey Karayev [Mon, 19 May 2014 22:50:33 +0000 (15:50 -0700)]
Merge pull request #376 from sergeyk/layer_reorg

Layer definitions and declarations re-organization and documentation

10 years agoIncorporated Evan’s comments for neuron layers
Sergey Karayev [Mon, 19 May 2014 18:11:37 +0000 (11:11 -0700)]
Incorporated Evan’s comments for neuron layers

10 years agoCosmetic change in ConcatLayer
Sergey Karayev [Mon, 19 May 2014 17:44:21 +0000 (10:44 -0700)]
Cosmetic change in ConcatLayer

10 years agoLil’ more docstring, and cosmetic change in EuclideanLossLayer
Sergey Karayev [Mon, 19 May 2014 17:43:21 +0000 (10:43 -0700)]
Lil’ more docstring, and cosmetic change in EuclideanLossLayer

10 years agofwd/back math docs for neuron layers
Sergey Karayev [Tue, 29 Apr 2014 07:21:15 +0000 (00:21 -0700)]
fwd/back math docs for neuron layers

10 years agodrop cute names in favor of Net.{pre,de}process() for input formatting
Evan Shelhamer [Fri, 16 May 2014 23:03:55 +0000 (16:03 -0700)]
drop cute names in favor of Net.{pre,de}process() for input formatting

...and refer to inputs as inputs and not images since general vectors
and matrices are perfectly fine.

10 years agoNet.caffeinate() and Net.decaffeinate() format/unformat lists
Evan Shelhamer [Fri, 16 May 2014 01:52:07 +0000 (18:52 -0700)]
Net.caffeinate() and Net.decaffeinate() format/unformat lists

10 years agotake blob args as ndarrays and assign on the python side
Evan Shelhamer [Fri, 16 May 2014 01:14:45 +0000 (18:14 -0700)]
take blob args as ndarrays and assign on the python side

Take blob args and give blob returns as single ndarrays instead of lists
of arrays.

Assign the net blobs and diffs as needed on the python side, which
reduces copies and simplifies the C++ side of the wrapper.

Thanks @longjon for the suggestion.

10 years agoCosmetic change in prep for data layer work
Sergey Karayev [Tue, 29 Apr 2014 02:40:43 +0000 (19:40 -0700)]
Cosmetic change in prep for data layer work

10 years agoSplit all loss layers into own .cpp files
Sergey Karayev [Tue, 29 Apr 2014 02:39:36 +0000 (19:39 -0700)]
Split all loss layers into own .cpp files

10 years agolayer definition reorganization and documentation
Sergey Karayev [Tue, 29 Apr 2014 02:06:07 +0000 (19:06 -0700)]
layer definition reorganization and documentation
- split out neuron, loss, and data layers into own header files
- added LossLayer class with common SetUp checks
- in-progress concise documentation of each layer's purpose