-
Notifications
You must be signed in to change notification settings - Fork 18.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Next: release candidater #1849
Next: release candidater #1849
Conversation
We are interested in #1482 and #1484 for the next release. This PRs were opened in November and already partially reviewed. We are available to reserve working time to finalize that if you have other feedbacks. /cc @mtamburrano |
Introduced by Layer type is a string #1694
Fix `draw` to support new protobuf format
To feed inputs of varying dimension, the `DATA` and `IMAGE_DATA` layer reshapes its prefetch and top blobs when the batch size is 1. The `BasePrefetchingDataLayer` always reshapes on forward.
Reshape single input batches for inputs of varying dimension
Improve CMake build with automation, options, and more.
Groom handling of encoded image inputs
No need to independently test static and dynamic linking.
Dynamic Linking
@shelhamer |
@ducha-aiki I would like to bet 10 bucks against us, too ;) |
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.
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.
Stop-gap fixes for pycaffe
[cmake] CMAKE_SOURCE/BINARY_DIR to PROJECT_SOURCE/BINARY_DIR
warning is still useful to keep from accidentally running data without pre-processing.
relax MemoryData transform check to warning
This reverts the encoding cleanup since it breaks data processing for existing inputs as discussed in #1901.
add force_encoded_color flag to the data layer and warn about mixed encoding
* A sample code was added. * `slice_dim` and `slice_point` attributes were explained.
A lot has happened since the last release! This packages up 400+ commits by 27 authors. Thanks all! A follow-up release will come in ~3 weeks to cover documentation, cuDNN v2, and as always more new features.
With all releases one should do
make clean && make superclean
to clear out old materials before compiling the new release to avoid inconsistencies.master
and releases are tagged. This is simpler and frees up maintainer time for real work.REGISTER_LAYER_CLASS
followsINSTANTIATE_CLASS
.Layer
and allSolver
to Python and implementLayers
in Python via thePythonLayer
type. This changes the pycaffe interface.Net
and immutable. This is the first step to dismantling the Caffe singleton and prevents Phase missteps like data_transformers applies jitter in TEST phase #1430. This changes the Net constructor and pycaffe and matcaffe interfaces.LayerParameter
type
; adds amessage ParamSpec
unifying parameter-related proto fields for a single parameter (name
,blobs_lr
,weight_decay
, ...) into a single structure. You should update your model definitions.Data
andImageData
layers now reshape when the batch size == 1 to handle inputs of varying dimensionsCAFFE
engine by skippingim2col
when it's the identity.Fixes
caffe test
were unaffected. Fixed by Give phase to Net #1790.caffe.Net
. Fixed by exposing these methods at the module level in Give phase to Net #1790. Callcaffe.set_{mode,device}
before making aNet
. This also solves issues with pycaffe and cuDNN.ImageDataLayer
would silently skip images it failed to load, but now it dies loudly.Documentation: The follow-up release will concentrate on pycaffe + matcaffe examples and interface documentation.
Dependencies: unchanged, except
Interface Change / Deprecation
upgrade_net_proto_{text,binary}
.NetParameter::set_type
or theNet(string file, Phase phase)
constructor Give phase to Net #1790.caffe.set_{mode,device}
before making aNet
and include the phase as an argument asnet = caffe.Net('def.prototxt', caffe.TRAIN
for example.caffe.Transformer
-- refer to the bundled examples andpython/caffe/io.py
for details. See How to pycaffe #1774 for a suggestion oncaffe.Net
usage.☕