You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm running the rendering code "shadowcompositing-main/src/compositing/blender/run.py" in blender(version 3.0.1), but some errors come,
<bpy_collection[8], BlendDataObjects> Writing Metadata [1/4] Rendering Sky Traceback (most recent call last): File "/media/wilson/Wilson/DE/Python/virtual_reality_fusion/shadowcompositing-main/rsc/demo (1)/blender/object_insertion.blend/run.py.001", line 31, in <module> File "/media/wilson/Wilson/DE/Python/virtual_reality_fusion/shadowcompositing-main/src/compositing/blender/save_annotation.py", line 165, in <module> save_keyframe() File "/media/wilson/Wilson/DE/Python/virtual_reality_fusion/shadowcompositing-main/src/compositing/blender/save_annotation.py", line 112, in save_keyframe nodes['Value'].outputs[0].default_value = 0 KeyError: 'bpy_prop_collection[key]: key "Value" not found' Error: Python script failed, check the message in the system console
explain:
I have revised the code in "save_annotation.py" to this:
Hi, I'm running the rendering code "shadowcompositing-main/src/compositing/blender/run.py" in blender(version 3.0.1), but some errors come,
<bpy_collection[8], BlendDataObjects> Writing Metadata [1/4] Rendering Sky Traceback (most recent call last): File "/media/wilson/Wilson/DE/Python/virtual_reality_fusion/shadowcompositing-main/rsc/demo (1)/blender/object_insertion.blend/run.py.001", line 31, in <module> File "/media/wilson/Wilson/DE/Python/virtual_reality_fusion/shadowcompositing-main/src/compositing/blender/save_annotation.py", line 165, in <module> save_keyframe() File "/media/wilson/Wilson/DE/Python/virtual_reality_fusion/shadowcompositing-main/src/compositing/blender/save_annotation.py", line 112, in save_keyframe nodes['Value'].outputs[0].default_value = 0 KeyError: 'bpy_prop_collection[key]: key "Value" not found' Error: Python script failed, check the message in the system console
explain:
I have revised the code in "save_annotation.py" to this:
# OBJ = ['bunny', 'ball', 'umbrella', 'glasses'] # Example 1 (teaser) OBJ = ['bunny'] # Example 2 (gray ground) OUT_PATH = '/media/wilson/Wilson/DE/Python/virtual_reality_fusion/shadowcompositing-main/result' # e.g., 'C:\\Downloads\' TAG = 'lssd432' # e.g., 'teaser'
I have debugged in the blender python console:
`
So there is no 'Value' key in nodes ~
I have tried search the tutorial of blender on the google in the last few days, but nothing got ~
Do you have any solution about this?
The text was updated successfully, but these errors were encountered: