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

Error: File format is not supported #8

Open
ucasligang opened this issue Jan 9, 2023 · 1 comment
Open

Error: File format is not supported #8

ucasligang opened this issue Jan 9, 2023 · 1 comment

Comments

@ucasligang
Copy link

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
Copy link
Collaborator

ofekp commented Jan 9, 2023

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?

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