Skip to content
This repository has been archived by the owner on Sep 2, 2024. It is now read-only.

ModuleNotFoundError: No module named 'read_model' #45

Open
pengxutao opened this issue Nov 24, 2022 · 3 comments
Open

ModuleNotFoundError: No module named 'read_model' #45

pengxutao opened this issue Nov 24, 2022 · 3 comments

Comments

@pengxutao
Copy link

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

@glibesyck
Copy link

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.

@Yangchengshuai
Copy link

I can't find read_write_module.py

@glibesyck
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants