ViP-NeRF
ViP-NeRF copied to clipboard
Running self-made dataset requires DepthBounds.csv, but no instructions on how to obtain this file.
python VisibilityMask02_NeRF_LLFF.py
Program started at 03/11/2023 10:43:47 PM
0%| | 0/1 [00:00<?, ?it/s]
../../../data/databases/SELF/data/all/database_data/scene0001/DepthBounds.csv not found.
Traceback (most recent call last):
File "/mnt/task_runtime/ViP-NeRF/src/prior_generators/visibility/VisibilityMask02_NeRF_LLFF.py", line 336, in
FileNotFoundError: ../../../data/databases/SELF/data/all/database_data/scene0001/DepthBounds.csv not found.
I've changed to used my own dataset with some images and CameraIntrinsics.csv and CameraExtrinsics.csv.
DepthBounds.csv contains near and far depth for every image in the scene. It is a csv file with 2 columns (near and far) and number of rows equal to number of images.
Typically, colmap is run to obtain the camera poses of the images. DepthBounds.csv can be extracted from colmap output as done in NerfLlffDataExtractor. This is similar to how NeRF obtains bounds for the scenes.
If the min and max depth are the same across the database, it can be hard-coded as done for VisibilityMask01_RealEstate.py.