Skip to content

Comments

Added check before register ptr to python#3865

Closed
gongenhao wants to merge 1 commit intoBVLC:masterfrom
gongenhao:master
Closed

Added check before register ptr to python#3865
gongenhao wants to merge 1 commit intoBVLC:masterfrom
gongenhao:master

Conversation

@gongenhao
Copy link

add check before register ptr to python for Net,Blob,Layers.
able to solve the warning related to:
#3575
and
https://groups.google.com/forum/#!topic/caffe-users/C_air48cISU

On master branch, there are warnings when run pycaffe.
/home/ubuntu/caffe/python/caffe/pycaffe.py:13: RuntimeWarning: to-Python converter for boost::shared_ptrcaffe::Net already registered; second conversion method ignored.
from ._caffe import Net, SGDSolver, NesterovSolver, AdaGradSolver,
/home/ubuntu/caffe/python/caffe/pycaffe.py:13: RuntimeWarning: to-Python converter for boost::shared_ptrcaffe::Blob already registered; second conversion method ignored.
from ._caffe import Net, SGDSolver, NesterovSolver, AdaGradSolver,
/home/ubuntu/caffe/python/caffe/pycaffe.py:13: RuntimeWarning: to-Python converter for boost::shared_ptrcaffe::Solver already registered; second conversion method ignored.
from ._caffe import Net, SGDSolver, NesterovSolver, AdaGradSolver, \

@gongenhao gongenhao closed this Mar 22, 2016
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.

1 participant