-
Notifications
You must be signed in to change notification settings - Fork 453
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
[BUG]: INITIAZLIZATION WITHOUT GPU #723
Comments
Hey, yes, it seems that here: BlenderProc/blenderproc/python/renderer/RendererUtility.py Lines 654 to 659 in ea934e1
No check is performed to validate that these GPU types exist. Best, |
Hi Max Thanks for your reply. Should I send you a PR for this small change or are you going to update it ? Best, David |
That hasn't been fixed yet. I will keep this open until it does, ok? ;) |
This was actually solved in #740 |
Describe the bug
bproc.init() calls RendererUtility.set_render_devices(). However in set_render_devices fails if no GPU is connected. There is a flag to set use_cpu. However this flag can not be set in the init() function. Thus currently blenderproc can only be used with GPU.
My suggestion would be to either allow to set the flag to the init() function itself or if it fails to find a GPU device to use CPU per default.
General Information
Which BlenderProc version are you using? 2.5
On which operating system are you? Ubuntu
Have you checked the issue tracker to see if a similar issue has been opened? Yes
Have you changed BlenderProc in any way besides the config file? If yes, are you sure that this change does not affect the problem you are having? Yes
To Reproduce
Steps to reproduce the behavior:
The text was updated successfully, but these errors were encountered: