-
Notifications
You must be signed in to change notification settings - Fork 62
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
ZeroDivisionError: float division by zero #5
Comments
It seems that blender doesn't work. Did you install blender? |
Yes, I installed blender-3.3.1-windows-x64 |
Did you change the install path of blender in run_render.py (line 38)?https://github.com/LordLiang/DrawingSpinUp/blob/main/3_style_translator/run_render.py |
【parser.add_argument('--blender_install_path', default='../blender-3.3.1-windows-x64/blender', help='blender path')】 Thank you very much for your help. I checked the path and it was indeed Lunix before. I changed it to the correct path, Windows, but it still reports the same error. How strange. |
在Unix/Linux和windows中文件路径的表示方法是不一样的,在Unix/Linux中,路径的分隔采用正斜杠'/';而在Windows中,路径分隔采用反斜杠'\',你可以试试'..\blender-3.3.1-windows-x64\blender'。如果相对路径不行还可以改成绝对路径试试。 |
In my case, I was ssh'ed from WSL. I'm not even able to run |
When executing >python run_render.py --uid ff7ab74a67a443e3bda61e69577f4e80, a problem occurred.
==================================================================
(venv) F:\AI\DrawingSpinUp\3_style_translator>python run_render.py --uid ff7ab74a67a443e3bda61e69577f4e80
'..' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
Traceback (most recent call last):
File "F:\AI\DrawingSpinUp\3_style_translator\run_render.py", line 90, in
print((end-start)/num_frame, num_frame)
ZeroDivisionError: float division by zero
help...555
The text was updated successfully, but these errors were encountered: