DekuLiuTesla / CityGaussian

CityGaussian Series for High-quality Large-Scale Scene Reconstruction with Gaussians
https://dekuliutesla.github.io/CityGaussianV2
Other
450 stars 29 forks source link

How to know aabb in lod yaml file #27

Closed Sunnyhong0326 closed 1 month ago

Sunnyhong0326 commented 1 month ago

Hi, when I execute render_large_lod.py in my custom, an error exists that says I didn't set aabb. However, how do I know the xyz of aabb in my custom scene. I follow the configuration file in config/my_scene_lod.yaml and it says that if I want to use default setting (1/3 foreground) , I can comment out the aabb line, but the error occurs below: image It seems like if I don't set aabb, it will cause error.

DekuLiuTesla commented 1 month ago

Sorry for the confusion. We have confirmed that this is a bug. We will soon fix it!

Sunnyhong0326 commented 1 month ago

Thanks! BTW, how do you set xyz of aabb of every scene? Do you use COLMAP to first visualize point cloud and camera poses and then decide how to set the value of xyz aabb?

DekuLiuTesla commented 1 month ago

Hi, we get the default aabb using camera information. You can refer to get_default_aabb function in utils/large_utils.py for more details. By the way, you might be able to find the path/to/your_dataset/train/data_partitions/your_partition_name_aabb.npy. This file stores generated default aabb.

DekuLiuTesla commented 1 month ago

Hi~. The bug has been fixed in our V1.1 release. Please check it! @Sunnyhong0326

Sunnyhong0326 commented 1 month ago

Thanks! It works!