forked from BVLC/caffe
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Local #1
Open
joyhuang9473
wants to merge
148
commits into
joyhuang-machine-learning:feature-local-layer
Choose a base branch
from
jackculpepper:local
base: feature-local-layer
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Local #1
joyhuang9473
wants to merge
148
commits into
joyhuang-machine-learning:feature-local-layer
from
jackculpepper:local
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Commands like "clear all" and "clear function" causes segmentation faults or errors like these (especially after an 'init'): libprotobuf ERROR google/protobuf/descriptor_database.cc:57] File already exists in database: caffe/proto/caffe.proto libprotobuf FATAL google/protobuf/descriptor.cc:862] CHECK failed: generated_database_->Add(encoded_file_descriptor, size): [libprotobuf ERROR google/protobuf/message.cc:333] Type appears to be in generated pool but wasn't registered: caffe.LayerParameter Attempt to restart MATLAB? To avoid these, lock the the mex file.
Using the type vector<Blob<Dtype*>* for outputs allows modification of the vector itself, while it is only okay to modify the blobs pointed to by the elements of the vector. Switching the types to const vector<Blob<Dtype>*>& makes them more correct.
Fix types of SetUp, Forward, Backward, and gradient checker calls
1x1 convolution with stride 1 is a special case of Caffe matrix multiplication convolution for which im2col / col2im transformations are actually the identity. For this special case the memory and transformation are skipped.
conv forward / backward only need one of the im2col data and diff at-a-time so consolidating the two saves a lazy allocation.
Optimize 1x1 convolution for Network-in-Network style operation
define up-to-date all-in-one model for pascal finetuning load transform params in window data layer include WindowDataLayer in data param upgrade Fix typo in LRN-expression in docs
…an image subtraction
Fixed param order of cv::Size in cv::resize switch examples to lmdb (except for custom data loaders) fix cifar10 paths so they can be run from caffe root default backend to lmdb for image conversion and mean computation
VGG models support
Small fix in extract_features
Fixed the bug with random offset selection
Fix Threshold layer
In this way, custom include directories for the dependencies are also available for tools/ and the bindings. This is necessary for example when someone is using custom built dependencies which are not installed in the system's default directories (e.g. OpenCV includes are required in tools/ through io.hpp)
[cmake] move dependency discovery to root CMakeLists.txt
Use glog to provide a backtrace on crash
- generate right shared library name - fix CMake linking with the new layer factory - find numpy Fix finding protobuf.
Fix python plugin to work with new layer factory in CMake build
Expose Net.copy_from and Net.share_with in pycaffe
fix instantiation per C++ standard
…nclude glog at some point. Including caffe/common.hpp. (2) I often misconfigure some layer and softmax breaks when the dimensionality is too small for the input layers. Check and fail fast. (3) CV_LOAD_IMAGE_COLOR is deprecated and has been removed in OpenCV 3.0. Replaced with cv::IMREAD_COLOR.
[fix] build with OpenCV 3 and other minor fixes
Clean flaky code
Minor change: some namespace simplification
i also added another contrastive loss after the first local layer, because it seems to plateau otherwise
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.