princeton-vl / infinigen

Infinite Photorealistic Worlds using Procedural Generation
https://infinigen.org
BSD 3-Clause "New" or "Revised" License
5.16k stars 432 forks source link

How to generate an animation? #144

Open rosefirefish opened 9 months ago

rosefirefish commented 9 months ago

Describe the bug

It took the computer (13900K+4090, WSL) too long to run the sample command of creating a one-second animation. And in scenes_db, it notes either crashed or notdone. (So I stopped it after about 12 hours.)

Steps to Reproduce

python -m tools.manage_datagen_jobs --output_folder outputs/my_videos01 --num_scenes 500  \
    --pipeline_config local_16GB.gin monocular_video cuda_terrain opengl_gt    \
    --cleanup big_files --warmup_sec 30000 --config high_quality_terrain    \
    --pipeline_overrides iterate_scene_tasks.frame_range=[1,25]

What version of the code were you using?

''' What is the output of git log -n 1? ''' commit 6919bfbbb3342041504ff1ef986b036857e27783

What command did you run?

The sample code for creating 1 second video clips with tiny updates:

python -m tools.manage_datagen_jobs --output_folder outputs/my_videos01 --num_scenes 500  \
    --pipeline_config local_16GB.gin monocular_video cuda_terrain opengl_gt    \
    --cleanup big_files --warmup_sec 30000 --config high_quality_terrain    \
    --pipeline_overrides iterate_scene_tasks.frame_range=[1,25]

What are your FULL output logs?

I attached the crash_summaries.txt and scenes_db.csv. There are too many logs. If the attached are not enough, let me know which one could be helpful. Thank you.

[crash_summaries.txt](https://github.com/princeton-vl/infinigen/files/12710166/crash_summaries.txt)
[scenes_db.csv](https://github.com/princeton-vl/infinigen/files/12710248/scenes_db.csv)

If this is your first time running Infinigen, what are the full output logs of install.sh ?**

Where is the log? (I don't think any error showed when I ran it the first time. And I ran the following commands as well.

sudo apt-get install libglm-dev libglew-dev libglfw3-dev libgles2-mesa-dev zlib1g-dev
sudo apt-get install doxygen
sudo apt-get install libxinerama-dev
sudo apt-get install libxcursor-dev
sudo apt-get install libxi-dev
bash worldgen/tools/install/compile_opengl.sh

All goes well. The output of compile_openg.sh looks as following:

-- Configuring done
-- Generating done
-- Build files have been written to: /mnt/d/Programs/infinigen/process_mesh/build
Consolidate compiler generated dependencies of target cnpy
[  9%] Built target cnpy
Consolidate compiler generated dependencies of target process_mesh
[ 72%] Built target process_mesh
Consolidate compiler generated dependencies of target cnpy-static
[ 81%] Built target cnpy-static
Consolidate compiler generated dependencies of target example1
[ 90%] Built target example1
Consolidate compiler generated dependencies of target fast_obj_lib
[100%] Built target fast_obj_lib
OpenGL/EGL ground truth is working.
/mnt/d/Programs/infinigen

Platform

Additional context

Add any other context about the problem here.

rosefirefish commented 9 months ago

I also tried to run the following command:

python -m tools.manage_datagen_jobs --specific_seed 3930249d --output_folder outputs/fire01 --num_scenes 1 --pipeline_config local_64GB.gin monocular_video.gin --cleanup none --config plain.gin fast_terrain_assets.gin use_on_the_fly_fire.gin

And here is the crash_summaries I got:

3930249d populate 48598330283 None Could not summarize cause, check outputs/fire01/3930249d/logs/populate.err fatal=False 09/25 02:57PM
3930249d backuppopulate 26779650035 None Could not summarize cause, check outputs/fire01/3930249d/logs/backuppopulate.err fatal=True 09/25 03:03PM

Here are the log files I got:

crash_summaries.txt scenes_db.csv logs.zip