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

about the singlescale #34

Open
81961916 opened this issue Mar 21, 2018 · 9 comments
Open

about the singlescale #34

81961916 opened this issue Mar 21, 2018 · 9 comments

Comments

@81961916
Copy link

你好,我在运行RCF-singlescale.ipynb的时候出现了错误
NameError: name 'time' is not defined
请问怎么解决呀

@yun-liu
Copy link
Owner

yun-liu commented Mar 21, 2018

应该不会有这个问题,除非你改了代码。第一段代码中有 import time,time是python自带的模块。

@81961916
Copy link
Author

我这第一段代码也有import time

@81961916
Copy link
Author

现在好了,不过ipython notebook出现The kernel appears to have died. It will restart automatically.是什么情况呀

@yun-liu
Copy link
Owner

yun-liu commented Mar 21, 2018

这个我也不清楚,你可以重启下试试,或者去查查ipython notebook相关的问题。

@81961916
Copy link
Author

好吧,再问一下用测试的图像跑RCF-singlescale.ipynb大概需要多长时间啊

@yun-liu
Copy link
Owner

yun-liu commented Mar 23, 2018

Titan X上,大概每秒能跑30张图片

@81961916
Copy link
Author

上面那个问题我找到解决办法了,把caffe.set_mode_gpu()改为caffe.set_mode_cpu()就ok了,因为我看注释写的是remove the following two lines if testing with cpu所以一开始就把下面两行注释掉了,结果就出错了

@81961916
Copy link
Author

你好,我在跑RCF-singlescale-NYUD.ipynb的时候又出现了The kernel appears to have died. It will restart automatically.的问题,跑RCF-singlescale.ipynb和RCF-multiscale.ipynb都没有问题 我是在cpu only的模式

@yun-liu
Copy link
Owner

yun-liu commented Mar 28, 2018

请提供一下具体的错误信息

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

No branches or pull requests

2 participants