diff --git a/README.md b/README.md index 8021b21..99fadb7 100644 --- a/README.md +++ b/README.md @@ -34,10 +34,10 @@ rm blender-3.2.2-linux-x64.tar.xz ```bash pip install objaverse -python download.py --id_path test.txt +python download.py --id_path curated.txt ``` -Right-click the objaverse package in `download.py` and open the `objaverse/__init__.py` file. Change `BASE_PATH='./obj_data'` to another path you prefer. Otherwise, it will download to the default system path. +Right-click the objaverse package in `download.py` and open the `objaverse/__init__.py` file. Change `BASE_PATH='./obj_data'` at line 14 or another path you prefer. Otherwise, it will download to the default system path. 4. Render 4D images @@ -45,14 +45,14 @@ Default setting ```bash python render.py --obj_path "./obj_data/hf-objaverse-v1/glbs" \ --save_dir './output' \ - --gpu_num 8 \ - --frame_num 24 \ - --azimuth_aug 1\ - --elevation_aug 0\ - --resolution 256 \ - --mode_multi 1\ - --mode_static 1\ - --mode_front_view 0\ + --gpu_num 8 \ + --frame_num 24 \ + --azimuth_aug 1 \ + --elevation_aug 0 \ + --resolution 256 \ + --mode_multi 1 \ + --mode_static 1 \ + --mode_front_view 0 \ --mode_four_view 0 ``` @@ -105,6 +105,8 @@ This project is based on numerous outstanding research efforts and open-source c - https://github.com/hustvl/4DGaussians - https://github.com/graphdeco-inria/gaussian-splatting - https://github.com/graphdeco-inria/diff-gaussian-rasterization +- https://objaverse.allenai.org/objaverse-1.0/ +- https://github.com/allenai/objaverse-xl ## If our 4D dataset and rendering script help your work, please consider citing our paper and starring the repository ⭐ diff --git a/rendering/render.py b/rendering/render.py index 9003d4b..6e275f8 100755 --- a/rendering/render.py +++ b/rendering/render.py @@ -52,16 +52,16 @@ def execute_command(args,glb_file, gpu_id,file_name): command=f'CUDA_VISIBLE_DEVICES={gpu_id} export DISPLAY=:0.1 && blender-3.2.2-linux-x64/blender \ --background --python blender.py -- \ --object_path {glb_file} \ - --frame_num {args.frame_num} \ - --output_dir {save_path} \ - --gpu_id {gpu_id} \ - --azimuth {azimuth}\ - --elevation {elevation}\ - --resolution {args.resolution} \ - --mode_multi {args.mode_multi}\ - --mode_static {args.mode_static}\ - --mode_front {args.mode_front_view}\ - --mode_four_view {args.mode_four_view}' + --frame_num {args.frame_num} \ + --output_dir {save_path} \ + --gpu_id {gpu_id} \ + --azimuth {azimuth}\ + --elevation {elevation}\ + --resolution {args.resolution} \ + --mode_multi {args.mode_multi}\ + --mode_static {args.mode_static}\ + --mode_front {args.mode_front_view}\ + --mode_four_view {args.mode_four_view}' print('command:',command) logging.info(f'Executing command: {command}') diff --git a/rendering/test.txt b/rendering/sample.txt similarity index 100% rename from rendering/test.txt rename to rendering/sample.txt