zju3dv / pvnet-rendering

render images for pvnet training
Apache License 2.0
183 stars 46 forks source link

bpy.data is none #52

Closed jinzhiyang1 closed 3 years ago

jinzhiyang1 commented 4 years ago

我在运行‘render_backend.py’时报错,然后我打印‘bpy.data’,显示为None。请问这应该怎么处理呢?/home/jzy/图片/bpy.data.png

jinzhiyang1 commented 4 years ago

![Uploading bpy.data.png…]()

pengsida commented 4 years ago

我看不到你传的图片。

jinzhiyang1 commented 3 years ago

您好 感谢你的回复,我现在把图片发给您。

------------------ 原始邮件 ------------------ 发件人: "zju3dv/pvnet-rendering" <notifications@github.com>; 发送时间: 2020年11月7日(星期六) 晚上10:31 收件人: "zju3dv/pvnet-rendering"<pvnet-rendering@noreply.github.com>; 抄送: "在路上"<1831099341@qq.com>;"Author"<author@noreply.github.com>; 主题: Re: [zju3dv/pvnet-rendering] bpy.data is none (#52)

我看不到你传的图片。

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

jinzhiyang1 commented 3 years ago

会不会是bpy库里面少了文件,我找到bpy库发现里面没有data这个文件。请问我该怎么安装bpy库呢?我用的是ubuntu18.04

------------------ 原始邮件 ------------------ 发件人: "zju3dv/pvnet-rendering" <notifications@github.com>; 发送时间: 2020年11月7日(星期六) 晚上10:31 收件人: "zju3dv/pvnet-rendering"<pvnet-rendering@noreply.github.com>; 抄送: "在路上"<1831099341@qq.com>;"Author"<author@noreply.github.com>; 主题: Re: [zju3dv/pvnet-rendering] bpy.data is none (#52)

我看不到你传的图片。

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

pengsida commented 3 years ago

bpy库是blender自带的。

jinzhiyang1 commented 3 years ago

感谢您的耐心解答,代码中调用了bpy.data.objects,但是在bpy库中并没有data的文件夹。当我运行render_backend.py时报错,这是为什么呢?

------------------ 原始邮件 ------------------ 发件人: "zju3dv/pvnet-rendering" <notifications@github.com>; 发送时间: 2020年11月8日(星期天) 下午4:29 收件人: "zju3dv/pvnet-rendering"<pvnet-rendering@noreply.github.com>; 抄送: "在路上"<1831099341@qq.com>;"Author"<author@noreply.github.com>; 主题: Re: [zju3dv/pvnet-rendering] bpy.data is none (#52)

bpy库是blender自带的。

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

pengsida commented 3 years ago

报什么错

jinzhiyang1 commented 3 years ago

bpy.data 是NoneType

------------------ 原始邮件 ------------------ 发件人: "zju3dv/pvnet-rendering" <notifications@github.com>; 发送时间: 2020年11月8日(星期天) 下午5:30 收件人: "zju3dv/pvnet-rendering"<pvnet-rendering@noreply.github.com>; 抄送: "在路上"<1831099341@qq.com>;"Author"<author@noreply.github.com>; 主题: Re: [zju3dv/pvnet-rendering] bpy.data is none (#52)

报什么错

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

pengsida commented 3 years ago

无法直接运行render_backend.py,需要通过blender运行。

jinzhiyang1 commented 3 years ago

无法直接运行render_backend.py,需要通过blender运行。 好的 感谢您的耐心解答。