jiaw-z / CoR-GS

[ECCV'24] CoR-GS: Sparse-View 3D Gaussian Splatting via Co-Regularization
https://jiaw-z.github.io/CoR-GS/
Other
74 stars 5 forks source link

FileNotFoundError: No such file or directory: '../sparse/0/images.txt' #26

Open Starak-x opened 2 months ago

Starak-x commented 2 months ago

Now I'm following the data preparation, but I met the problem about the txt file. I already extracted the LLFF dataset and tried to run colmap like: python tools/colmap_llff.py

But I have a FileNotFoundError: No such file or directory: '../sparse/0/images.txt' error because The file I extracted is a bin file. I tried changing the bin file to a txt file, But I failed to use it.

Could you explain how to use this file if you were able to use this code?

jiaw-z commented 2 months ago

You may need to check the path to the dataset used in colmap_llff.py. I recommend using an absolute path to determine the path to llff. This is the code I used and I will re-run this code later and check for this issue.

Starak-x commented 2 months ago

I used the absolute path, but I could not find a txt file; instead, there is an 'images.bin' file. When I changed 'txt' to 'bin' in colmap_llff.py, the following error occurred: image image

twowwj commented 2 months ago

I also didn't find the "image.txt". "image.bin" is available.

jiaw-z commented 2 months ago

Hello, I have downloaded the original llff data and re-ran the code. The original data only has "image.bin". However, if the path is correct, the code will automatically generate a txt file based on the .bin corresponding folder:

image

After this step in the code, a txt file will appear in the corresponding folder in the data.

image

Maybe you can check that the absolute path is pointing to the address where the original data is located instead of the address that is soft-linked into the code.