TanksAndTemples
TanksAndTemples copied to clipboard
ModuleNotFoundError: No module named 'read_model'
hello, I followed the tutorial and try to obtain a *.log file from colmap result by runing the python script:
python convert_to_logfile.py Ignatius_COLMAP/sparse/0/ cameras.log Ignatius_COLMAP COLMAP jpg
but there is a error:
Traceback (most recent call last): File "convert_to_logfile.py", line 48, in <module> import read_model ModuleNotFoundError: No module named 'read_model'
and I don't know where to find the module read_model, can you help me? thank you very much
Hey! Most likely I'm here too late helping you with the question but still. The module is now called "read_write_module.py", so you should change
import read_model
to
import read_write_model
as well as changing mentions of this module throughout the code.
I can't find read_write_module.py
@Yangchengshuai Hi! It is the function which is distributed by COLMAP, not T&T; you can find it under this link