hustvl / 4DGaussians

[CVPR 2024] 4D Gaussian Splatting for Real-Time Dynamic Scene Rendering
https://guanjunwu.github.io/4dgs/
Other
2.11k stars 171 forks source link

`extractimages.py` process order not sorted #128

Closed dli7319 closed 5 months ago

dli7319 commented 5 months ago

In scripts/extractimages.py, we use os.listdir which is not guaranteed to be in sorted order.

I think this can be fixed by replacing: for folder_name in os.listdir(dir1): with for folder_name in sorted(os.listdir(dir1)):