-
Notifications
You must be signed in to change notification settings - Fork 17
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
你们这个代码不支持gpu? #6
Comments
支持gpu的,或许看看是否pytorch版本的问题?在你的环境下运行torch.cuda.is_available()看看是否使用了GPU? |
测试了GPU可用。pytorch也没问题,也是GPU版本,运行别的程序都没问题。。。但是一跑您这个就很慢 |
quick_start.py也是基于这个repo代码搭建的,没什么优化。。或许你看看是不是图像的尺寸太大了,如果图像很大的话就会很慢。也可以再检查一下版本问题和环境配置。。 |
你们这个不是默认会resize到300*400分辨率吗,而且我看了一下,感觉和quick_start.py里面下载的图片的尺寸差不多啊。。。。。 |
你们的代码为什么运行起来这么慢,生成一张海报要30多秒。看了看基本没用上GPU啊
The text was updated successfully, but these errors were encountered: