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

disable rendering when generating large scens #341

Open
hpc100 opened this issue Oct 4, 2024 · 1 comment
Open

disable rendering when generating large scens #341

hpc100 opened this issue Oct 4, 2024 · 1 comment
Labels
question Further information is requested

Comments

@hpc100
Copy link

hpc100 commented Oct 4, 2024

Hello,

What command did you run?

python -m infinigen.datagen.manage_jobs --output_folder outputs/my_dataset --num_scenes 1000 --pipeline_configs local_256GB.gin monocular.gin blender_gt.gin indoor_background_configs.gin --pipeline_overrides get_cmd.driver_script='infinigen_examples.generate_indoors' manage_datagen_jobs.num_concurrent=16

I would like to know if it's possible to disable rendering when using previous command ? (to save time).
I just want the blend file (no terrain, no images)

Thank's in advance.

@hpc100 hpc100 added the question Further information is requested label Oct 4, 2024
@araistrick
Copy link
Contributor

araistrick commented Oct 8, 2024

yes, there isnt a oneliner config for this, but its quite easy to achieve.

To make the command you showed achieve what you want, you would edit infinigen/datagen/configs/data_schema/monocular.gin and make the following edit:

replace

iterate_scene_tasks.camera_dependent_tasks = [
    {'name': 'shortrender', 'func': @rendershort/queue_render},
    {'name': 'backuprender', 'func': @renderbackup/queue_render, 'condition': 'prev_failed'},
]

with

iterate_scene_tasks.camera_dependent_tasks = []

I havent tested this, but I can see the value in having a generation-only config for manage_jobs, so if it works for you I will add a gin config

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

No branches or pull requests

2 participants