Skip to content

Conversation

cepiross
Copy link

@cepiross cepiross commented Jun 14, 2016

Since default CMAKE_SHARED_LIBRARY_SUFFIX is .dylib at MacOS, pycaffe does not work. This PR will create _caffe.so so as to be correctly referred after cmake installation.

@seansaito
Copy link

This workaround resolved my error when trying to import pycaffe. Simply running make pycaffe does not work for MacOS, as suggested in other solutions such as #263

lukeyeager and others added 29 commits August 29, 2016 11:14
changes "c++" to "C++" for consistency
…ted caffe target

This is the first step towards "modern" IMPORTED-targets-only CMake
setup. The find_package modules still need to be rewritten and upstreamed in
form of config exports where possible.
Despite Caffe itself does not use OpenMP, explicitly linking to OpenMP
should be done when one statically links to a BLAS library which uses
OpenMP internally and does not provide proper CMake imported targets
with proper dependencies (nobody this so far).
Rationale: these are duplicated in CMakeLists code, and they cannot be
removed from there because many definitions need to be exported to the
library clients. See issue BVLC#4625.
Benchmarking should not impact perf until timer is read
A bias/scaling can be applied wherever desired by defining the
respective layers, and `ScaleLayer` can handle both as a memory
optimization.
Document that Ubuntu 16.04 Requires CUDA 8
batch norm statistics are not learnable parameters subject to solver
updates, so they must be shielded from the solver. `BatchNorm` layer now
masks its statistics for itself by zeroing parameter learning rates
instead of relying on the layer definition.

n.b. declaring `param`s for batch norm layers is no longer allowed.
automatically strip old batch norm layer definitions including `param`
messages. the batch norm layer used to require manually masking its
state from the solver by setting `param { lr_mult: 0 }` messages for
each of its statistics. this is now handled automatically by the layer.
[examples] Fixed typos in examples/cpp_classification/readme
Batch Norm: Further Documentation and Simplified Definition
fix layerSetUp of scale_layer to not add bias blob when already present
[TravisCI] google/protobuf renamed the 3.0 branch
shelhamer and others added 27 commits April 14, 2017 13:11
Berkeley AI Research (BAIR) is the the successor to
the Berkeley Vision and Learning Center (BVLC).
dev has diffused into the community from the original Caffe core
Test for python forward and backward with start and end layer
Explicit std::string to bp::object conversion
Handling destruction of empty Net objects
Rewrite crop layer GPU implementation
Downgrade boost requirement from 1.55 to 1.54
docs/debian guide: update compiler combination table
…o-library

cmake: rename libproto.a -> libcaffeproto.a
* 'master' of https://github.com/cepiross/caffe:
  Fix pyCaffe installation on Cmake for MacOS

# Conflicts:
#	python/CMakeLists.txt
@cepiross
Copy link
Author

cepiross commented Jun 5, 2017

Close this PR since it is too old to follow.

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.