Skip to content
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
wants to merge 148 commits into
base: feature-local-layer
Choose a base branch
from

Conversation

joyhuang9473
Copy link
Member

No description provided.

gcinbis and others added 30 commits August 20, 2014 07:53
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
  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
Fixed the bug with random offset selection
jeffdonahue and others added 30 commits October 6, 2014 14:50
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
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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.