You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi. Trying to process any data according with Readme, however it crashes on the beginnig with output below. How to fix it?
$ python gtsfm/runner/run_scene_optimizer_olssonloader.py --dataset_root /home/mikhail/data/gerrard-hall/ --config_name deep_front_end.yaml --num_workers 4
/home/mikhail/dev/gtsfm/gtsfm/runner/gtsfm_runner_base.py:164: UserWarning:
The version_base parameter is not specified.
Please specify a compatability version level, or None.
Will assume defaults for version 1.1
with hydra.initialize_config_module(config_module="gtsfm.configs"):
Loaded SuperPoint model
Traceback (most recent call last):
File "/home/mikhail/anaconda3/envs/gtsfm-v1/lib/python3.8/site-packages/hydra/_internal/utils.py", line 644, in _locate
obj = getattr(obj, part)
AttributeError: module 'gtsfm.frontend.matcher' has no attribute 'lightglue_matcher'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/mikhail/anaconda3/envs/gtsfm-v1/lib/python3.8/site-packages/hydra/_internal/utils.py", line 650, in _locate
obj = import_module(mod)
File "/home/mikhail/anaconda3/envs/gtsfm-v1/lib/python3.8/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
File "<frozen importlib._bootstrap>", line 991, in _find_and_load
File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 843, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/home/mikhail/dev/gtsfm/gtsfm/frontend/matcher/lightglue_matcher.py", line 20, in <module>
from thirdparty.LightGlue.lightglue.lightglue import LightGlue
File "/home/mikhail/dev/gtsfm/thirdparty/LightGlue/lightglue/__init__.py", line 2, in <module>
from .superpoint import SuperPoint
File "/home/mikhail/dev/gtsfm/thirdparty/LightGlue/lightglue/superpoint.py", line 47, in <module>
from .utils import ImagePreprocessor
File "/home/mikhail/dev/gtsfm/thirdparty/LightGlue/lightglue/utils.py", line 3, in <module>
import kornia
File "/home/mikhail/anaconda3/envs/gtsfm-v1/lib/python3.8/site-packages/kornia/__init__.py", line 8, in <module>
from . import (
File "/home/mikhail/anaconda3/envs/gtsfm-v1/lib/python3.8/site-packages/kornia/augmentation/__init__.py", line 2, in <module>
from kornia.augmentation import auto, container
File "/home/mikhail/anaconda3/envs/gtsfm-v1/lib/python3.8/site-packages/kornia/augmentation/auto/__init__.py", line 1, in <module>
from .autoaugment import AutoAugment
File "/home/mikhail/anaconda3/envs/gtsfm-v1/lib/python3.8/site-packages/kornia/augmentation/auto/autoaugment/__init__.py", line 1, in <module>
from .autoaugment import AutoAugment
File "/home/mikhail/anaconda3/envs/gtsfm-v1/lib/python3.8/site-packages/kornia/augmentation/auto/autoaugment/autoaugment.py", line 5, in <module>
from kornia.augmentation.auto.base import SUBPOLICY_CONFIG, PolicyAugmentBase
File "/home/mikhail/anaconda3/envs/gtsfm-v1/lib/python3.8/site-packages/kornia/augmentation/auto/base.py", line 5, in <module>
from kornia.augmentation.auto.operations.base import OperationBase
File "/home/mikhail/anaconda3/envs/gtsfm-v1/lib/python3.8/site-packages/kornia/augmentation/auto/operations/__init__.py", line 3, in <module>
from .policy import PolicySequential
File "/home/mikhail/anaconda3/envs/gtsfm-v1/lib/python3.8/site-packages/kornia/augmentation/auto/operations/policy.py", line 7, in <module>
from kornia.augmentation.container.base import ImageSequentialBase, TransformMatrixMinIn
File "/home/mikhail/anaconda3/envs/gtsfm-v1/lib/python3.8/site-packages/kornia/augmentation/container/__init__.py", line 1, in <module>
from kornia.augmentation.container.augment import AugmentationSequential
File "/home/mikhail/anaconda3/envs/gtsfm-v1/lib/python3.8/site-packages/kornia/augmentation/container/augment.py", line 6, in <module>
from kornia.augmentation._2d.base import RigidAffineAugmentationBase2D
File "/home/mikhail/anaconda3/envs/gtsfm-v1/lib/python3.8/site-packages/kornia/augmentation/_2d/__init__.py", line 1, in <module>
from kornia.augmentation._2d.geometric import *
File "/home/mikhail/anaconda3/envs/gtsfm-v1/lib/python3.8/site-packages/kornia/augmentation/_2d/geometric/__init__.py", line 11, in <module>
from kornia.augmentation._2d.geometric.rotation import RandomRotation, RandomRotation90
File "/home/mikhail/anaconda3/envs/gtsfm-v1/lib/python3.8/site-packages/kornia/augmentation/_2d/geometric/rotation.py", line 115, in <module>
class RandomRotation90(GeometricAugmentationBase2D):
File "/home/mikhail/anaconda3/envs/gtsfm-v1/lib/python3.8/site-packages/kornia/augmentation/_2d/geometric/rotation.py", line 165, in RandomRotation90
times: tuple[int, int],
TypeError: 'type' object is not subscriptable
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/mikhail/anaconda3/envs/gtsfm-v1/lib/python3.8/site-packages/hydra/_internal/instantiate/_instantiate2.py", line 134, in _resolve_target
target = _locate(target)
File "/home/mikhail/anaconda3/envs/gtsfm-v1/lib/python3.8/site-packages/hydra/_internal/utils.py", line 658, in _locate
raise ImportError(
ImportError: Error loading 'gtsfm.frontend.matcher.lightglue_matcher.LightGlueMatcher':
TypeError("'type' object is not subscriptable")
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "gtsfm/runner/run_scene_optimizer_olssonloader.py", line 36, in <module>
runner = GtsfmRunnerOlssonLoader()
File "/home/mikhail/dev/gtsfm/gtsfm/runner/gtsfm_runner_base.py", line 53, in __init__
self.scene_optimizer: SceneOptimizer = self.construct_scene_optimizer()
File "/home/mikhail/dev/gtsfm/gtsfm/runner/gtsfm_runner_base.py", line 173, in construct_scene_optimizer
scene_optimizer: SceneOptimizer = instantiate(main_cfg.SceneOptimizer)
File "/home/mikhail/anaconda3/envs/gtsfm-v1/lib/python3.8/site-packages/hydra/_internal/instantiate/_instantiate2.py", line 226, in instantiate
return instantiate_node(
File "/home/mikhail/anaconda3/envs/gtsfm-v1/lib/python3.8/site-packages/hydra/_internal/instantiate/_instantiate2.py", line 342, in instantiate_node
value = instantiate_node(
File "/home/mikhail/anaconda3/envs/gtsfm-v1/lib/python3.8/site-packages/hydra/_internal/instantiate/_instantiate2.py", line 342, in instantiate_node
value = instantiate_node(
File "/home/mikhail/anaconda3/envs/gtsfm-v1/lib/python3.8/site-packages/hydra/_internal/instantiate/_instantiate2.py", line 342, in instantiate_node
value = instantiate_node(
File "/home/mikhail/anaconda3/envs/gtsfm-v1/lib/python3.8/site-packages/hydra/_internal/instantiate/_instantiate2.py", line 333, in instantiate_node
_target_ = _resolve_target(node.get(_Keys.TARGET), full_key)
File "/home/mikhail/anaconda3/envs/gtsfm-v1/lib/python3.8/site-packages/hydra/_internal/instantiate/_instantiate2.py", line 139, in _resolve_target
raise InstantiationException(msg) from e
hydra.errors.InstantiationException: Error locating target 'gtsfm.frontend.matcher.lightglue_matcher.LightGlueMatcher', set env var HYDRA_FULL_ERROR=1 to see chained exception.
Hi. Trying to process any data according with Readme, however it crashes on the beginnig with output below. How to fix it?
full_key: SceneOptimizer.correspondence_generator.matcher.matcher_obj
The text was updated successfully, but these errors were encountered: