threedle / GeoCode

GeoCode maps 3D shapes to a human-interpretable parameter space, allowing to intuitively edit the recovered 3D shapes from a point cloud or sketch input.
374 stars 25 forks source link

Error: File format is not supported #8

Open ucasligang opened 1 year ago

ucasligang commented 1 year ago

Hi, GeoCode is an amazing work for shape generation, congrats! But I meet an error of "Error: File format is not supported in file 'dataset_generator/dataset_generator.py'" when I execute the command. ~/Blender/blender-3.2.0-linux-x64/blender ./blends/procedural_chair.blend -b dataset_generator/dataset_generator.py -- --dataset-dir ./datasets/MyChairDataset --phases test What should I do if I have an external chair dataset? I want to try using the pre-trained model for my new chair dataset. The file format in this new dataset is the ‘.obj’ format (or '.png' format for specific views). Looking forward to your help. A late Happy New Year!

ofekp commented 1 year ago

Hey there, thank you, and Happy New Year to you too :) .obj and .png are exactly the file types that should be accepted, so ideally, all you need to do is to make sure the objects are normalized. We have a section in the readme that offers a script to convert COSEG from .off files to .obj files and then normalizes the samples, too. That is found under Additional scripts and might be of help. Other than that, the error message seems to originate from Blender for some reason, can you give more context about it? Do you have anything else printed along with it?