mli0603 / BlenderNeuralangelo

Blender addon to inspect and preprocess COLMAP data for Neuralangelo (CVPR 2023)
308 stars 22 forks source link

I got an error when load COLMAP Data #9

Closed simonzhou06 closed 1 year ago

simonzhou06 commented 1 year ago

When I try to load the example one the error was:

Python: Traceback (most recent call last): File "\neuralangelo_addon.py", line 1095, in execute load_camera(colmap_data, context) File "\neuralangelo_addon.py", line 950, in load_camera bpy.ops.image.open(filepath=blender_img_path, directory=blender_img_path, files=blender_file_names_formatted, File "C:\Program Files\WindowsApps\BlenderFoundation.Blender_3.5.1.0_x64ppwjx1n5r4v9t\Blender\3.5\scripts\modules\bpy\ops.py", line 113, in call__ ret = _op_call(self.idname_py(), None, kw) TypeError: Converting py args to operator properties: IMAGE_OT_open.files error converting a member of a collection from a dicts into an RNA collection, failed with: TypeError: Converting a Python list to an RNA collection: keyword "type" missing

mli0603 commented 1 year ago

Hi @simonzhou06

Thank you for your interest in the project.

I can't get much insight from the error message. It looks like something may have been wrong with the file path and one of the arguments is not in the expected format.

Would you mind providing me with more details?

simonzhou06 commented 1 year ago

Sure, I installed the git respiratory to my desktop and I ran the code in the blender with version 3.5.1 and my project folder is on the desktop, and yes I see the blender_images inside the dense folder. Thank you

mli0603 commented 1 year ago

Please see issue https://github.com/mli0603/BlenderNeuralangelo/issues/13