Closed thevaibhavkute closed 9 months ago
I do have the same error. I have changed the code and tried yet facing the same error.
I'm facing the same issue: _No module named 'thirdparty.colmap'
Someone please help!
Errors may occur when coding "from third_party.xxx import xxx".
Find
/content/neuralangelo/projects/neuralangelo/scripts/convert_data_to_json.py
Comment
dir_path = Path(os.path.dirname(os.path.realpath(__file__))).parents[2]
sys.path.append(dir_path.__str__())
Add codes after comments above.
sys.path.append('/content/neuralangelo/third_party')
Find code after that:
from third_party.colmap.scripts.python.read_write_model import read_model, qvec2rotmat
then fix to:
from colmap.scripts.python.read_write_model import read_model, qvec2rotmat
Errors may occur when coding "from third_party.xxx import xxx".
- Find
/content/neuralangelo/projects/neuralangelo/scripts/convert_data_to_json.py
- Comment
dir_path = Path(os.path.dirname(os.path.realpath(__file__))).parents[2] sys.path.append(dir_path.__str__())
- Add codes after comments above.
sys.path.append('/content/neuralangelo/third_party')
- Find code after that:
from third_party.colmap.scripts.python.read_write_model import read_model, qvec2rotmat
- then fix to:
from colmap.scripts.python.read_write_model import read_model, qvec2rotmat
thank you so much :) . it worked 👍.
Errors may occur when coding "from third_party.xxx import xxx".
- Find
/content/neuralangelo/projects/neuralangelo/scripts/convert_data_to_json.py
- Comment
dir_path = Path(os.path.dirname(os.path.realpath(__file__))).parents[2] sys.path.append(dir_path.__str__())
- Add codes after comments above.
sys.path.append('/content/neuralangelo/third_party')
- Find code after that:
from third_party.colmap.scripts.python.read_write_model import read_model, qvec2rotmat
- then fix to:
from colmap.scripts.python.read_write_model import read_model, qvec2rotmat
Thanks a lot!!
Errors may occur when coding "from third_party.xxx import xxx".
- Find
/content/neuralangelo/projects/neuralangelo/scripts/convert_data_to_json.py
- Comment
dir_path = Path(os.path.dirname(os.path.realpath(__file__))).parents[2] sys.path.append(dir_path.__str__())
- Add codes after comments above.
sys.path.append('/content/neuralangelo/third_party')
- Find code after that:
from third_party.colmap.scripts.python.read_write_model import read_model, qvec2rotmat
- then fix to:
from colmap.scripts.python.read_write_model import read_model, qvec2rotmat
is this fix making its way into the repo?
Errors may occur when coding "from third_party.xxx import xxx".
- Find
/content/neuralangelo/projects/neuralangelo/scripts/convert_data_to_json.py
- Comment
dir_path = Path(os.path.dirname(os.path.realpath(__file__))).parents[2] sys.path.append(dir_path.__str__())
- Add codes after comments above.
sys.path.append('/content/neuralangelo/third_party')
- Find code after that:
from third_party.colmap.scripts.python.read_write_model import read_model, qvec2rotmat
- then fix to:
from colmap.scripts.python.read_write_model import read_model, qvec2rotmat
is this fix making its way into the repo? while running this:
make there this change:
from neuralangelo.third_party.colmap.scripts.python.read_write_model import read_model
getting the below error while running the above script... I have not made any changes still getting this error. After that I have tried to edit that file inside but still getting this error
Error: