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

Make Net master of its phase and device #1500

Closed
1 of 3 tasks
shelhamer opened this issue Nov 29, 2014 · 1 comment
Closed
1 of 3 tasks

Make Net master of its phase and device #1500

shelhamer opened this issue Nov 29, 2014 · 1 comment
Labels

Comments

@shelhamer
Copy link
Member

shelhamer commented Nov 29, 2014

Leaving phase and device to the Caffe singleton is awkward and spells trouble for parallelization and device abstraction.

Net should own phase and device, which are to be set at instantiation, so that nets can co-exist without the delicate coordination of phase and device for parallel execution within and across nets.

At the same time phase issues like #192 #1250 #1430 should be settled at the same time. Phase has been settled in #1790.

@longjon @jeffdonahue

@shelhamer
Copy link
Member Author

p.s. pycaffe is still weird for certain configurations since phase and device are set too late. I keep forgetting to push a stop-gap patch but perhaps we should fix this all at once and soon. Fix in #1728.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants