FSGS icon indicating copy to clipboard operation
FSGS copied to clipboard

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

Open ayatemp opened this issue 1 year ago • 4 comments

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?

ayatemp avatar Aug 11 '24 05:08 ayatemp

I encountered the same problem. Have you solved this problem?

Starak-x avatar Aug 21 '24 07:08 Starak-x

you can use the colmap to import the model, and then export the model as text, then you can get the .txt file.

Larissa0829 avatar Sep 06 '24 08:09 Larissa0829

I found that the txt file was not extracted because the COLMAP command was not run. It means that there is no COLMAP in your device/machine.

You can see the below error: image When running python3 tools/colmap_llff.py, this error seems to be ignored without any warning or error notification. You can solve this problem by installing COLMAP in your machine.

Also, COLMAP installation can be test in terminal:

colmap

# if there is no COLMAP, you can see this:
Command 'colmap' not found, but can be installed with:
sudo apt install colmap 

gh-BumsooKim avatar Jan 08 '25 09:01 gh-BumsooKim

thank you! I'll try that!

ayatemp avatar Jan 08 '25 19:01 ayatemp