Skip to content
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

Matrix multiplication: not supported between 'Matrix' and 'Vector' types #39

Open
linmi1 opened this issue Apr 15, 2024 · 2 comments
Open

Comments

@linmi1
Copy link

linmi1 commented Apr 15, 2024

I tried the blender_script.py,get the logs:

Connected to pydev debugger (build 232.10227.11) =================== CYCLES =================== Data are loaded, start creating Blender stuff glTF import finished in 0.18s Failed to render ./dataset/input/bb7a8d3861f04ab68d0e09120ce11f3a.glb Matrix multiplication: not supported between 'Matrix' and 'Vector' types
and I find the problem is from if not ignore_matrix: coord = obj.matrix_world @ coord
my package mathutils is 3.3.0 and bpy is 4.0.0 with torch ==2.1.2

@linmi1
Copy link
Author

linmi1 commented Apr 15, 2024

If I set ignore_matrix is True , I can run the codes correctly by changing some codes,I wonder if this setting will influence my result

@ZexinHe
Copy link
Collaborator

ZexinHe commented May 6, 2024

Hi,

Thanks to @RiccardoLincetto, it looks like you should run with blender cli to work. Plz refer to this #44.

The blender script here is designed to be used with this repo, in which you should use the blender script like this.

blender -b -P scripts/blender_script.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants