microsoft / caffe

Caffe on both Linux and Windows
Other
1.22k stars 478 forks source link

Python RuntimeWarning messages from "import caffe" #73

Open by321 opened 8 years ago

by321 commented 8 years ago

"import caffe" in python gave me these warning messages (I have no idea what they mean) :

C:\github\caffe\Build\x64\Release\pycaffe\caffe\pycaffe.py:13: RuntimeWarning: to-Python converter for class boost::shared_ptr<class caffe::Net > already registered; second conversion method ignored. from ._caffe import Net, SGDSolver, NesterovSolver, AdaGradSolver, \ C:\github\caffe\Build\x64\Release\pycaffe\caffe\pycaffe.py:13: RuntimeWarning: to-Python converter for class boost::shared_ptr<class caffe::Blob > already registered; second conversion method ignored. from ._caffe import Net, SGDSolver, NesterovSolver, AdaGradSolver, \ C:\github\caffe\Build\x64\Release\pycaffe\caffe\pycaffe.py:13: RuntimeWarning: to-Python converter for class boost::shared_ptr<class caffe::Solver > already registered; second conversion method ignored. from ._caffe import Net, SGDSolver, NesterovSolver, AdaGradSolver, \

123chengbo commented 8 years ago

Hi: (Windows caffe) I try to set python-caffe, but when import caffe, it shows that: from google.prorobuf import descriptor_pb2 ImportError: cannor import descriptor_pb2 There is something wrong with my google_protobuf, but my computer cannot connect the internet directly,i can not install the protobuf directly,then i try to download it、andinstall,but it doesn'twork. Can you help me?Thank you