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

What does './models_path_all.json' mean? #5

Open
snowflakewang opened this issue Dec 10, 2024 · 1 comment
Open

What does './models_path_all.json' mean? #5

snowflakewang opened this issue Dec 10, 2024 · 1 comment

Comments

@snowflakewang
Copy link

Hello, thank you for your great work in open-source Blender rendering scripts. I am curious about the meaning of './models_path_all.json'. What is the difference between this json and material3d.json?

python rendering_scripts/distributed_render.py \
    --timeout 3600 \
    --num_gpus 8 \
    --workers_per_gpu 12 \
    --input_models_path './models_path_all.json' \
    --resolution 512 \
    --render_space 'VIEW'

Thank you!

@Jiaozrr
Copy link

Jiaozrr commented Dec 24, 2024

After you downloaded the glb data of objaverse, you can save all the paths as a dict like {"id": path, ...} into a json file. This is
models_path_all.json. On the other hand, material3d.json is a json file including a sublist of ids that you want to render. You can pass material3d.json or another similar file as the arg objects_uid in the script distributed_render.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