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

Modifying camera pose fails #375

Open
jmCabrillana opened this issue Nov 22, 2024 · 2 comments
Open

Modifying camera pose fails #375

jmCabrillana opened this issue Nov 22, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@jmCabrillana
Copy link

Hello and thanks for the project.

I've followed the documentation for configuring cameras by overriding with camera.camera_pose_proposal.altitude=["uniform", 20, 30], but this example fails for me:
python -m infinigen.datagen.manage_jobs --output_folder outputs/hello_world2 --num_scenes 1 --specific_seed 201068 --configs simple.gin dev.gin --pipeline_configs local_64GB.gin monocular.gin --pipeline_overrides LocalScheduleHandler.use_gpu=False --overrides camera.camera_pose_proposal.altitude=["uniform", 20, 30] compose_nature.generate_resolution=[720, 720] compose_nature.trees_chance=0.2 OpaqueSphericalMesher.pixels_per_cube=8 TransparentSphericalMesher.pixels_per_cube=8 target_face_size.global_multiplier=8 placement.populate_all.dist_cull=140

Fails with this error:

outputs/hello_world2 11/22 07:05AM -> 11/22 07:05AM

control_state/curr_concurrent_max : 3
control_state/disk_usage : 0.9
control_state/n_in_flight : 1
control_state/try_to_launch : 2
control_state/will_launch : 0
running/coarse : 1
running/total : 1

outputs/hello_world2 11/22 07:05AM -> 11/22 07:05AM
Crashed: 11/22 07:05AM outputs/hello_world2/201068/logs/coarse.err reason='SyntaxError: malformed node or string on line 1: <ast.Name object at 0x7f3f9b009c00>' node=None fatal=True

============================================================
control_state/curr_concurrent_max : 3
control_state/disk_usage : 0.9
control_state/n_in_flight : 0
control_state/try_to_launch : 3
control_state/will_launch : 0
crashed/coarse : 1
crashed/total : 1

My example runs fine without overriding the camera configuration

@jmCabrillana jmCabrillana added the bug Something isn't working label Nov 22, 2024
@araistrick
Copy link
Contributor

this likely just an issue with terminal parsing. you may need to add "" around the commandline arguments, or add backslashes \ before the squarebrackets []

e.g. try camera.camera_pose_proposal.altitude=\[\"uniform\", 20, 30\]

@jmCabrillana
Copy link
Author

Indeed, thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants