platform/upstream/caffeonacl.git
9 years agoMerge pull request #2010 from danielhamngren/update_python_requirements
Evan Shelhamer [Sat, 7 Mar 2015 00:26:30 +0000 (16:26 -0800)]
Merge pull request #2010 from danielhamngren/update_python_requirements

[pycaffe] Add Pillow to requirements.txt

9 years agoMerge pull request #2037 from shelhamer/expose-solver-restore
Evan Shelhamer [Sat, 7 Mar 2015 00:25:09 +0000 (16:25 -0800)]
Merge pull request #2037 from shelhamer/expose-solver-restore

Expose Solver::Restore() as public for restoring without solving

9 years ago[docs] include boost-python in OSX pycaffe install
Evan Shelhamer [Thu, 5 Mar 2015 21:55:01 +0000 (13:55 -0800)]
[docs] include boost-python in OSX pycaffe install

9 years ago[pycaffe] add missing import sys
Jonathan L Long [Thu, 5 Mar 2015 07:00:45 +0000 (23:00 -0800)]
[pycaffe] add missing import sys

9 years agoexpose Solver::Restore() as public and Solver.restore() in pycaffe
Evan Shelhamer [Thu, 5 Mar 2015 01:18:26 +0000 (17:18 -0800)]
expose Solver::Restore() as public and Solver.restore() in pycaffe

The solver can restore its state without entering the Solve() loop.

9 years ago[pycaffe] check mean channels for transformation
Evan Shelhamer [Thu, 5 Mar 2015 01:13:38 +0000 (17:13 -0800)]
[pycaffe] check mean channels for transformation

follow-up to #2031: check that the input and mean channels are
compatible in the broadcast channels case.

9 years agoMerge pull request #2035 from jeffdonahue/include-climits
Jeff Donahue [Wed, 4 Mar 2015 23:53:17 +0000 (15:53 -0800)]
Merge pull request #2035 from jeffdonahue/include-climits

add <climits> for INT_MAX

9 years agoinclude/caffe/common.hpp: add <climits> for INT_MAX (now in blob.hpp)
Jeff Donahue [Wed, 4 Mar 2015 23:22:46 +0000 (15:22 -0800)]
include/caffe/common.hpp: add <climits> for INT_MAX (now in blob.hpp)

9 years agofix comment I forgot about from @shelhamer's review of #1970
Jeff Donahue [Wed, 4 Mar 2015 19:17:51 +0000 (11:17 -0800)]
fix comment I forgot about from @shelhamer's review of #1970

9 years agoMerge pull request #2031 from NVIDIA/image_mean
Evan Shelhamer [Wed, 4 Mar 2015 17:43:15 +0000 (09:43 -0800)]
Merge pull request #2031 from NVIDIA/image_mean

Check shape of input mean

9 years agoAdd error checking for image mean
Luke Yeager [Mon, 23 Feb 2015 17:18:31 +0000 (09:18 -0800)]
Add error checking for image mean

When setting the mean, assert that it is either one pixel or an array with
shape equal to the input data size.

9 years agoMerge pull request #1966 from philkr/python_fixes
Jon Long [Wed, 4 Mar 2015 11:33:13 +0000 (03:33 -0800)]
Merge pull request #1966 from philkr/python_fixes

cmake and python3 bugfixes for #1939 and #1923

9 years agoMerge pull request #1970 from jeffdonahue/tensor-blob
Evan Shelhamer [Wed, 4 Mar 2015 06:27:55 +0000 (22:27 -0800)]
Merge pull request #1970 from jeffdonahue/tensor-blob

Blobs are N-D arrays (for N not necessarily equals 4)

9 years ago[pytest] use non-4d blobs in test_python_layer
Jonathan L Long [Mon, 2 Mar 2015 23:54:11 +0000 (15:54 -0800)]
[pytest] use non-4d blobs in test_python_layer

9 years ago[pycaffe] expose Blob.reshape as *args function
Jonathan L Long [Mon, 2 Mar 2015 23:27:45 +0000 (15:27 -0800)]
[pycaffe] expose Blob.reshape as *args function

9 years agoAdd option not to reshape to Blob::FromProto; use when loading Blobs
Jeff Donahue [Sat, 31 Jan 2015 07:16:44 +0000 (23:16 -0800)]
Add option not to reshape to Blob::FromProto; use when loading Blobs
from saved NetParameter

Want to keep the param Blob shape the layer has set, and not necessarily
adopt the one from the saved net (e.g. want to keep new 1D bias shape,
rather than take the (1 x 1 x 1 x D) shape from a legacy net).

9 years agoPyBlobs support generalized axes
Jeff Donahue [Fri, 2 Jan 2015 01:32:38 +0000 (17:32 -0800)]
PyBlobs support generalized axes

9 years agoAdd CHECK_EQ(4, ...)s to "vision layers" to enforce that the
Jeff Donahue [Fri, 16 Jan 2015 03:50:42 +0000 (19:50 -0800)]
Add CHECK_EQ(4, ...)s to "vision layers" to enforce that the
num/channnels/height/width indexing is valid.

9 years agoDummyDataLayer outputs blobs of arbitrary shape
Jeff Donahue [Thu, 1 Jan 2015 00:06:46 +0000 (16:06 -0800)]
DummyDataLayer outputs blobs of arbitrary shape

9 years agoEuclideanLossLayer: generalized Blob axes
Jeff Donahue [Sun, 30 Nov 2014 02:00:44 +0000 (18:00 -0800)]
EuclideanLossLayer: generalized Blob axes

9 years agoWindowDataLayer outputs 1D labels
Jeff Donahue [Wed, 26 Nov 2014 20:57:15 +0000 (12:57 -0800)]
WindowDataLayer outputs 1D labels

9 years agoImageDataLayer outputs 1D labels
Jeff Donahue [Wed, 26 Nov 2014 20:56:14 +0000 (12:56 -0800)]
ImageDataLayer outputs 1D labels

9 years agoMemoryDataLayer outputs 1D labels
Jeff Donahue [Wed, 26 Nov 2014 13:42:50 +0000 (05:42 -0800)]
MemoryDataLayer outputs 1D labels

9 years agoDataLayer outputs 1D labels
Jeff Donahue [Wed, 26 Nov 2014 13:34:47 +0000 (05:34 -0800)]
DataLayer outputs 1D labels

9 years agoHDF5DataLayer shapes output according to HDF5 shape
Jeff Donahue [Wed, 26 Nov 2014 13:42:11 +0000 (05:42 -0800)]
HDF5DataLayer shapes output according to HDF5 shape

9 years agoSplitLayer: change Reshape(n,h,c,w) to ReshapeLike(...)
Jeff Donahue [Wed, 26 Nov 2014 13:02:15 +0000 (05:02 -0800)]
SplitLayer: change Reshape(n,h,c,w) to ReshapeLike(...)

9 years agoSoftmaxLossLayer generalized like SoftmaxLayer
Jeff Donahue [Sat, 31 Jan 2015 07:22:26 +0000 (23:22 -0800)]
SoftmaxLossLayer generalized like SoftmaxLayer

9 years agoCuDNNSoftmaxLayer: generalized Blob axes
Jeff Donahue [Tue, 10 Feb 2015 02:12:54 +0000 (18:12 -0800)]
CuDNNSoftmaxLayer: generalized Blob axes

9 years agoSoftmaxLayer: generalized Blob axes
Jeff Donahue [Sun, 15 Feb 2015 21:26:36 +0000 (13:26 -0800)]
SoftmaxLayer: generalized Blob axes

9 years agoSliceLayer: generalized Blob axes
Jeff Donahue [Wed, 26 Nov 2014 11:22:59 +0000 (03:22 -0800)]
SliceLayer: generalized Blob axes

9 years agoConcatLayer: generalized Blob axes
Jeff Donahue [Wed, 26 Nov 2014 08:03:36 +0000 (00:03 -0800)]
ConcatLayer: generalized Blob axes

9 years agoTestConcatLayer: add forward/gradient tests for concatenation along num
Jeff Donahue [Wed, 26 Nov 2014 10:24:41 +0000 (02:24 -0800)]
TestConcatLayer: add forward/gradient tests for concatenation along num

9 years agoTestConcatLayer: fix style errors
Jeff Donahue [Wed, 26 Nov 2014 10:12:09 +0000 (02:12 -0800)]
TestConcatLayer: fix style errors

9 years agocommon_layers.hpp: remove unused "Blob col_bob_"
Jeff Donahue [Wed, 26 Nov 2014 11:23:42 +0000 (03:23 -0800)]
common_layers.hpp: remove unused "Blob col_bob_"

9 years agoFlattenLayer: generalized Blob axes
Jeff Donahue [Wed, 26 Nov 2014 08:11:06 +0000 (00:11 -0800)]
FlattenLayer: generalized Blob axes

9 years agoEltwiseLayer need not assume old 4D dim names
Jeff Donahue [Wed, 26 Nov 2014 07:47:10 +0000 (23:47 -0800)]
EltwiseLayer need not assume old 4D dim names

9 years agoTest{Net,Solver} fixes for AccuracyLayer generalization
Jeff Donahue [Fri, 13 Feb 2015 23:52:39 +0000 (15:52 -0800)]
Test{Net,Solver} fixes for AccuracyLayer generalization

9 years agoAccuracyLayer generalized to N instance axes
Jeff Donahue [Sat, 31 Jan 2015 07:23:27 +0000 (23:23 -0800)]
AccuracyLayer generalized to N instance axes

9 years agoAccuracyLayer output is 0D (scalar)
Jeff Donahue [Sun, 30 Nov 2014 00:48:32 +0000 (16:48 -0800)]
AccuracyLayer output is 0D (scalar)

9 years agoLossLayer output is 0D (scalar)
Jeff Donahue [Wed, 26 Nov 2014 07:46:57 +0000 (23:46 -0800)]
LossLayer output is 0D (scalar)

9 years agoConvLayer biases are 1D
Jeff Donahue [Sun, 30 Nov 2014 01:02:18 +0000 (17:02 -0800)]
ConvLayer biases are 1D

9 years agoInnerProductLayer can multiply along any axis
Jeff Donahue [Sat, 29 Nov 2014 22:26:48 +0000 (14:26 -0800)]
InnerProductLayer can multiply along any axis

9 years agoFix sparse GaussianFiller for new IPLayer weight axes
Jeff Donahue [Mon, 16 Feb 2015 09:29:17 +0000 (01:29 -0800)]
Fix sparse GaussianFiller for new IPLayer weight axes

9 years agoInnerProductLayer weights are 2D; biases are 1D
Jeff Donahue [Wed, 26 Nov 2014 06:48:03 +0000 (22:48 -0800)]
InnerProductLayer weights are 2D; biases are 1D

9 years agoTestBlob: test that legacy BlobProtos are correctly handled by ShapeEquals
Jeff Donahue [Sun, 30 Nov 2014 00:11:07 +0000 (16:11 -0800)]
TestBlob: test that legacy BlobProtos are correctly handled by ShapeEquals

9 years agoadd offset, {data,diff}_at nd blob accessors
Jeff Donahue [Wed, 4 Feb 2015 23:00:03 +0000 (15:00 -0800)]
add offset, {data,diff}_at nd blob accessors

9 years agoAdd BlobShape message; use for Net input shapes
Jeff Donahue [Thu, 1 Jan 2015 00:05:52 +0000 (16:05 -0800)]
Add BlobShape message; use for Net input shapes

9 years agoBlobs are ND arrays (for N not necessarily equals 4).
Jeff Donahue [Wed, 26 Nov 2014 02:17:45 +0000 (18:17 -0800)]
Blobs are ND arrays (for N not necessarily equals 4).

vector<int> shape_ instead of (num, channels, height, width).

9 years agoAdded Pillow to requirements.txt
Daniel Hamngren [Sun, 1 Mar 2015 22:06:03 +0000 (23:06 +0100)]
Added Pillow to requirements.txt

9 years agoMerge pull request #1999 from boechat107/patch-2
Jon Long [Fri, 27 Feb 2015 18:32:49 +0000 (10:32 -0800)]
Merge pull request #1999 from boechat107/patch-2

Small fix (visualization) on SLICE layer's documentation

9 years agoMerge pull request #1955 from philkr/reshaping_encoded
Evan Shelhamer [Thu, 26 Feb 2015 00:37:55 +0000 (16:37 -0800)]
Merge pull request #1955 from philkr/reshaping_encoded

Decoding the datum before feeding it into the reshaping data layer

9 years agoSmall fix (visualization) on SLICE layer's documentation
Andre Ambrosio Boechat [Wed, 25 Feb 2015 17:56:18 +0000 (14:56 -0300)]
Small fix (visualization) on SLICE layer's documentation

The sample was missing some additional spaces to be correctly rendered on the HTML. The mistake was mine.

9 years agoFixing two bugs related to python3 and PROJECT_SOURCE_DIR
philkr [Wed, 25 Feb 2015 16:17:06 +0000 (08:17 -0800)]
Fixing two bugs related to python3 and PROJECT_SOURCE_DIR

9 years agoMerge pull request #1960 from gustavla/makefile_fix
Jon Long [Wed, 25 Feb 2015 07:00:27 +0000 (23:00 -0800)]
Merge pull request #1960 from gustavla/makefile_fix

Replaced illegal tab in Makefile with spaces.

9 years agoMerge pull request #1961 from sergeyk/master
Evan Shelhamer [Wed, 25 Feb 2015 06:05:06 +0000 (22:05 -0800)]
Merge pull request #1961 from sergeyk/master

fix accelerate / veclib path for OS X 10.10

9 years agoMakefile fix for OS X 10.10
Sergey Karayev [Wed, 25 Feb 2015 05:52:32 +0000 (21:52 -0800)]
Makefile fix for OS X 10.10

9 years agoReplaced illegal tab in Makefile with spaces.
Gustav Larsson [Wed, 25 Feb 2015 05:22:15 +0000 (23:22 -0600)]
Replaced illegal tab in Makefile with spaces.

Commands, such as $(error ...), are not allowed to be indented with tabs
outside of targets, throwing an error instead of outputting the actual
error. The solution is to use innocuous spaces instead. Ideally, spaces
should be used everywhere outside targets, but since make does not mind
it if variable assignments are tab-indented outside targets, a complete
overhaul is not necessary. However, if more errors are added, it might
make more sense to be consistent.

Also, make will already add a period so I removed it.

9 years agofixed matcaffe printout to specify num of args (now including train/test phase)
forresti [Wed, 25 Feb 2015 00:51:56 +0000 (16:51 -0800)]
fixed matcaffe printout to specify num of args (now including train/test phase)

9 years agoDecoding the datum before feeding it into the reshaping data layer
philkr [Wed, 25 Feb 2015 00:02:06 +0000 (16:02 -0800)]
Decoding the datum before feeding it into the reshaping data layer

9 years agoMerge pull request #1923 from philkr/python3_master
Jon Long [Tue, 24 Feb 2015 23:00:58 +0000 (15:00 -0800)]
Merge pull request #1923 from philkr/python3_master

Making python3 work with cmake and the new python wrapper

9 years agoMaking python3 work with cmake and the new python wrapper
philkr [Tue, 17 Feb 2015 18:50:12 +0000 (10:50 -0800)]
Making python3 work with cmake and the new python wrapper

9 years agoMerge pull request #1926 from shelhamer/test-caffe-tool
Jon Long [Tue, 24 Feb 2015 04:04:48 +0000 (20:04 -0800)]
Merge pull request #1926 from shelhamer/test-caffe-tool

Check caffe tool runs

9 years agoMerge pull request #1941 from jsupancic/cpp_lint_python2
Jon Long [Tue, 24 Feb 2015 04:01:27 +0000 (20:01 -0800)]
Merge pull request #1941 from jsupancic/cpp_lint_python2

fixes: cpp_lint.py fails silently with Python3

9 years agoMerge pull request #1948 from spmallick/patch-1
Jon Long [Tue, 24 Feb 2015 03:52:12 +0000 (19:52 -0800)]
Merge pull request #1948 from spmallick/patch-1

APPLE was misspelled in Line 27

9 years agoAPPLE was misspelled. in Line 27
spmallick [Tue, 24 Feb 2015 00:13:20 +0000 (16:13 -0800)]
APPLE was misspelled. in Line 27

9 years agoMerge pull request #1939 from Nerei/bugfix/install_rpath_for_pycaffe
Evan Shelhamer [Sun, 22 Feb 2015 18:35:10 +0000 (10:35 -0800)]
Merge pull request #1939 from Nerei/bugfix/install_rpath_for_pycaffe

[cmake] fix install rpath for pycaffe

9 years agocpp_lint.py fails silently with Python3 (which is the default on some systems).
James Supancic III [Sun, 22 Feb 2015 18:16:45 +0000 (10:16 -0800)]
cpp_lint.py fails silently with Python3 (which is the default on some systems).
This commit specifies Python2 with which cpp_lint.py works :-)

9 years agominor cmake sumamry log fix
Anatoly Baksheev [Sun, 22 Feb 2015 17:14:40 +0000 (20:14 +0300)]
minor cmake sumamry log fix

9 years agofixed bug in install-tree: _caffe.so installed by install(TARGET ...) was overwritten...
Anatoly Baksheev [Sun, 22 Feb 2015 16:04:22 +0000 (19:04 +0300)]
fixed bug in install-tree: _caffe.so installed by install(TARGET ...) was overwritten with symlink created at build time and installed with install(DIRECTORY ...)

9 years agoset proper CMAKE_INSTALL_RPATH for _caffe.so and tools
Anatoly Baksheev [Sun, 22 Feb 2015 16:03:47 +0000 (19:03 +0300)]
set proper CMAKE_INSTALL_RPATH for _caffe.so and tools

9 years agoignore pycharm files
Anatoly Baksheev [Sun, 22 Feb 2015 15:58:12 +0000 (18:58 +0300)]
ignore pycharm files

9 years agocheck caffe tool runs in runtest
Evan Shelhamer [Sat, 21 Feb 2015 04:29:53 +0000 (20:29 -0800)]
check caffe tool runs in runtest

9 years agoMerge pull request #1921 from shelhamer/fix-tool-linking
Evan Shelhamer [Fri, 20 Feb 2015 20:20:23 +0000 (12:20 -0800)]
Merge pull request #1921 from shelhamer/fix-tool-linking

[build] fix dynamic linking of tools

9 years ago[build] fix dynamic linking of tools
Evan Shelhamer [Fri, 20 Feb 2015 19:18:47 +0000 (11:18 -0800)]
[build] fix dynamic linking of tools

set the right rpath for tools and examples respectively

thanks for the report @mees!

9 years agoMerge pull request #1914 from eerwitt/master
Evan Shelhamer [Fri, 20 Feb 2015 06:16:10 +0000 (22:16 -0800)]
Merge pull request #1914 from eerwitt/master

fix Imagenet example path

9 years agoUpdated the path for get_ilsvrc_aux.sh to match what is found in the current project
e3 [Fri, 20 Feb 2015 06:07:27 +0000 (22:07 -0800)]
Updated the path for get_ilsvrc_aux.sh to match what is found in the current project

9 years agoMerge pull request #1849 from BVLC/next
Evan Shelhamer [Fri, 20 Feb 2015 02:35:23 +0000 (18:35 -0800)]
Merge pull request #1849 from BVLC/next

Next: release candidater

9 years agoCorrect 'epochs' to 'iterations'
Brandon Amos [Mon, 16 Feb 2015 20:09:24 +0000 (15:09 -0500)]
Correct 'epochs' to 'iterations'

See https://github.com/BVLC/caffe/blob/master/models/bvlc_reference_caffenet/solver.prototxt

9 years agoBrief explanation of SLICE layer's attributes
Andre Ambrosio Boechat [Fri, 30 Jan 2015 15:57:31 +0000 (13:57 -0200)]
Brief explanation of SLICE layer's attributes

* A sample code was added.
* `slice_dim` and `slice_point` attributes were explained.

9 years ago[docs] add check mode hint to CPU-only mode error
Evan Shelhamer [Thu, 29 Jan 2015 18:53:44 +0000 (10:53 -0800)]
[docs] add check mode hint to CPU-only mode error

9 years ago[docs] send API link to class list
Evan Shelhamer [Thu, 29 Jan 2015 17:26:12 +0000 (09:26 -0800)]
[docs] send API link to class list

9 years ago[build] fix rpath for examples
Evan Shelhamer [Fri, 20 Feb 2015 02:14:57 +0000 (18:14 -0800)]
[build] fix rpath for examples

9 years agoMerge pull request #1910 from philkr/encoded
Evan Shelhamer [Fri, 20 Feb 2015 02:01:13 +0000 (18:01 -0800)]
Merge pull request #1910 from philkr/encoded

  add force_encoded_color flag to the data layer and warn about
  mixed encoding

9 years agoRepeal revert of #1878
Evan Shelhamer [Fri, 20 Feb 2015 01:54:49 +0000 (17:54 -0800)]
Repeal revert of #1878

9 years ago[docs] add gitter chat badge
Evan Shelhamer [Fri, 20 Feb 2015 01:49:12 +0000 (17:49 -0800)]
[docs] add gitter chat badge

9 years agoadded a force_encoded_color flag to the data layer. Printing a warning if images...
philkr [Thu, 19 Feb 2015 21:46:21 +0000 (13:46 -0800)]
added a force_encoded_color flag to the data layer. Printing a warning if images of different channel dimensions are encoded together

9 years agoRevert "Merge pull request #1878 from philkr/encoded"
Evan Shelhamer [Thu, 19 Feb 2015 19:03:23 +0000 (11:03 -0800)]
Revert "Merge pull request #1878 from philkr/encoded"

This reverts the encoding cleanup since it breaks data processing for
existing inputs as discussed in #1901.

9 years agoMerge pull request #1907 from shelhamer/memory-warn-transform
Evan Shelhamer [Thu, 19 Feb 2015 18:56:26 +0000 (10:56 -0800)]
Merge pull request #1907 from shelhamer/memory-warn-transform

relax MemoryData transform check to warning

9 years agorelax MemoryData transform check to warning
Evan Shelhamer [Thu, 19 Feb 2015 18:31:23 +0000 (10:31 -0800)]
relax MemoryData transform check to warning

warning is still useful to keep from accidentally running data without
pre-processing.

9 years agoMerge pull request #1899 from philkr/project_source_dir
Evan Shelhamer [Thu, 19 Feb 2015 08:37:53 +0000 (00:37 -0800)]
Merge pull request #1899 from philkr/project_source_dir

[cmake] CMAKE_SOURCE/BINARY_DIR to PROJECT_SOURCE/BINARY_DIR

9 years agoMerge pull request #1902 from shelhamer/py-stopgap
Evan Shelhamer [Thu, 19 Feb 2015 08:25:18 +0000 (00:25 -0800)]
Merge pull request #1902 from shelhamer/py-stopgap

Stop-gap fixes for pycaffe

9 years ago[pycaffe] switch examples to Transformer
Evan Shelhamer [Thu, 19 Feb 2015 04:53:22 +0000 (20:53 -0800)]
[pycaffe] switch examples to Transformer

This is a quick translation of the examples to the caffe.io.Transformer
interface. The results are not strictly identical to the earlier
implementation! The models now use a mean pixel instead of a mean image
for simplicity. The output classifications and detections are preserved
but scores may differ.

Note: the examples will be rewritten to make use of `caffe.Net` alone
since it is the true interface, but not yet.

9 years ago[pycaffe] take pre-processing from Net and give to Transformer
Evan Shelhamer [Thu, 19 Feb 2015 04:47:12 +0000 (20:47 -0800)]
[pycaffe] take pre-processing from Net and give to Transformer

The pyreformation #1703 aligned pycaffe Net with the real Caffe Net.
This broke the pre-processing helpers that had been bolted on to
`caffe.Net`.

These responsibilities are gathered in `caffe.io.Transformer` instead.
This is only an intermediate step in a real solution to pycaffe IO that
should make use of the same data pipeline as the rest of the framework.

See #1245 for further thoughts on input processing.

9 years ago[pycaffe] import newline cleanup
Evan Shelhamer [Thu, 19 Feb 2015 04:46:41 +0000 (20:46 -0800)]
[pycaffe] import newline cleanup

9 years agoChanging CMAKE_SOURCE/BINARY_DIR to PROJECT_SOURCE/BINARY_DIR
philkr [Wed, 18 Feb 2015 16:38:33 +0000 (08:38 -0800)]
Changing CMAKE_SOURCE/BINARY_DIR to PROJECT_SOURCE/BINARY_DIR

9 years agocomment fix: Decaf -> Caffe
Jonathan L Long [Wed, 18 Feb 2015 02:23:32 +0000 (18:23 -0800)]
comment fix: Decaf -> Caffe

9 years ago[pycaffe] fix bug in Python layer setup
Jonathan L Long [Tue, 17 Feb 2015 23:46:29 +0000 (15:46 -0800)]
[pycaffe] fix bug in Python layer setup

Previously, setup did not correctly override LayerSetUp (and therefore
did not run) due to an incorrect type.

9 years agoMerge pull request #1790 from shelhamer/net-phase
Evan Shelhamer [Tue, 17 Feb 2015 20:02:55 +0000 (12:02 -0800)]
Merge pull request #1790 from shelhamer/net-phase

Give phase to Net

9 years ago[matcaffe] give phase to Net
Evan Shelhamer [Mon, 26 Jan 2015 06:06:23 +0000 (22:06 -0800)]
[matcaffe] give phase to Net

9 years ago[pycaffe] give phase to Net
Evan Shelhamer [Mon, 26 Jan 2015 04:57:23 +0000 (20:57 -0800)]
[pycaffe] give phase to Net

- expose `caffe.{TRAIN,TEST}` constants
- instantiate `caffe.Net`s with phase
- drop singleton phase interface `caffe.set_phase_{train,test}`