TanksAndTemples icon indicating copy to clipboard operation
TanksAndTemples copied to clipboard

ModuleNotFoundError: No module named 'read_model'

Open pengxutao opened this issue 2 years ago • 3 comments

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

pengxutao avatar Nov 24 '22 13:11 pengxutao

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.

glibesyck avatar Apr 05 '23 09:04 glibesyck

I can't find read_write_module.py

Yangchengshuai avatar Jul 26 '23 04:07 Yangchengshuai

@Yangchengshuai Hi! It is the function which is distributed by COLMAP, not T&T; you can find it under this link

glibesyck avatar Jul 26 '23 06:07 glibesyck