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

运行不了/ I can't run the tool #5

Open
yzceig opened this issue May 21, 2019 · 6 comments
Open

运行不了/ I can't run the tool #5

yzceig opened this issue May 21, 2019 · 6 comments

Comments

@yzceig
Copy link

yzceig commented May 21, 2019

多谢学长代码。我运行了工具,用的win10CPU,只用input和output两个窗口,可以显示 Image selected: G:\yzceig\Pictures\input.png,前面打印的也没问题。然后就用左键划黑线,但按‘n'键无反应,命令行光标一直在闪,按其他键也一样无反应。这可能是什么问题。

@youyuge34
Copy link
Owner

@yzceig Make sure your typing language has been shifted to ENG. Press n only when the activated window is OpenCV instead of CMD. Or u can add some debug messages in the source codes by yourself.

@yzceig
Copy link
Author

yzceig commented May 21, 2019

Thank you for your answer. I find that I press n at the wrong window.
But when it shows Patching... and the size information of 3 lines ,then my computer is stuck, whatever I press, it doesn't work.
I use the cpu, so is that my computer's hardware configuration is too low?

@youyuge34
Copy link
Owner

@yzceig I'm afraid so. Use pictures with smaller size to try again and I strongly recommend you to run with GPU~

@yzceig
Copy link
Author

yzceig commented May 22, 2019

As for the cuda, is that some requirements when use it? Which version of cuda i should use ?
i have tried cuda 10.0, but it shows all CUDA-capable devices are busy or unavailable. Should i use a lower version of cuda, such as 9.0?

@youyuge34
Copy link
Owner

@yzceig The cuda toolkit is installed firstly whether 9.0 or 10.0 is supported by PyTorch. Be careful you should use the correct command line to install PyTorch which is written on official site, according to your cuda version.
Make sure your PyTorch with cuda could run smoothly before you run this project.

@fangxuanhao
Copy link

谢谢您的回答。我发现我在错误的窗口上按了n。
但是当它显示Patching...并显示3行的尺寸信息时,我的电脑被卡住了,无论我按什么键,它都无法工作。
我使用cpu,是不是我的计算机的硬件配置太低?

使用gpu运行,或者有可能是你图片比较大,你可以缩小图片

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

3 participants