我“进口咖啡”来自ipython,但我得到了“ RuntimeWarning”。怎么解决呢? [英] I "import caffe" from ipython, but I got "RuntimeWarning". How to resolve it?

查看:116
本文介绍了我“进口咖啡”来自ipython,但我得到了“ RuntimeWarning”。怎么解决呢?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已阅读文章 Ubuntu安装-具有64位处理器的Ubuntu 14.04的指南。来自Github网站( https://github.com/ tiangolo / caffe / blob / ubuntu-tutorial-b / docs / install_apt2.md )。
现在,我打开IPython测试PyCaffe是否正常工作。我输入 ipython命令,然后进入ipython页面。

I have read the article "Ubuntu Installation --Guide for Ubuntu 14.04 with a 64 bit processor." from Github website (https://github.com/tiangolo/caffe/blob/ubuntu-tutorial-b/docs/install_apt2.md). And now, I open IPython to test that PyCaffe is working. I input "ipython" command, and enter to the ipython page.

然后,我输入命令 import caffe,但出现以下警告:

Then, I input the command "import caffe", but I got below warnings:


/root/code/caffe-master/python/caffe/pycaffe.py:13:RuntimeWarning:to-python converter for boost :: shared_ptr>已经注册;第二种转换方法被忽略。来自._caffe import Net,SGDSolver,NesterovSolver,AdaGradSolver,\

/root/code/caffe-master/python/caffe/pycaffe.py:13:RuntimeWarning: to-Python converter for boost::shared_ptr > already registered; second conversion method ignored. from ._caffe import Net, SGDSolver, NesterovSolver, AdaGradSolver, \

/root/code/caffe-master/python/caffe/pycaffe.py:13:RuntimeWarning:至Python转换器为了提高:: shared_ptr>已经注册;第二种转换方法被忽略。来自._caffe import Net,SGDSolver,NesterovSolver,AdaGradSolver,\

/root/code/caffe-master/python/caffe/pycaffe.py:13: RuntimeWarning: to-Python converter for boost::shared_ptr > already registered; second conversion method ignored. from ._caffe import Net, SGDSolver, NesterovSolver, AdaGradSolver, \

/root/code/caffe-master/python/caffe/pycaffe.py:13:RuntimeWarning:至Python转换器为了提高:: shared_ptr>已经注册;第二种转换方法被忽略。来自._caffe import Net,SGDSolver,NesterovSolver,AdaGradSolver,

/root/code/caffe-master/python/caffe/pycaffe.py:13: RuntimeWarning: to-Python converter for boost::shared_ptr > already registered; second conversion method ignored. from ._caffe import Net, SGDSolver, NesterovSolver, AdaGradSolver, \

请帮我解决问题的建议吗?

Would you please help to give me some suggestions to resolve it?

推荐答案

我发现了这一点:

https://groups.google.com/forum/#!topic/caffe-users/C_air48cISU

声称这是非错误,是由于Boost版本不匹配引起的。您可以放心地忽略它。他们答应清除警告(在某些时候尚未指定)

Claiming that this is a non-error, cause by mis-matched versions of Boost. You can safely ignore it. They've promised to clean up the warning (at some point not yet specified)

这篇关于我“进口咖啡”来自ipython,但我得到了“ RuntimeWarning”。怎么解决呢?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆