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

Add unary CaffeNet constructor for uninitialized nets #365

Merged
merged 1 commit into from
Apr 25, 2014

Conversation

longjon
Copy link
Contributor

@longjon longjon commented Apr 25, 2014

As @zergylord notes in #360, sometimes one wants to construct a net from Python without having parameters. This PR makes the second argument to the Python caffe.Net constructor optional.

Note that parameters are uninitialized, not zero-filled.

Note that parameters are uninitialized, not zero-filled.
@shelhamer
Copy link
Member

Thanks Jon! This is a nice way to do custom initialization, or re-purpose pieces of already existing models as initialization to a new net.

shelhamer added a commit that referenced this pull request Apr 25, 2014
Add unary CaffeNet constructor for uninitialized nets
@shelhamer shelhamer merged commit 3ac5842 into BVLC:dev Apr 25, 2014
@shelhamer shelhamer mentioned this pull request May 20, 2014
mitmul pushed a commit to mitmul/caffe that referenced this pull request Sep 30, 2014
Add unary CaffeNet constructor for uninitialized nets
@longjon longjon deleted the pycaffe-empty-nets branch December 30, 2014 05:00
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.

2 participants