I am using conda env (python=3.7.12) to impliment MonoGS SLAM. I face this error and cant overcome it. When i import evo on terminal there is no error. But on VS code there is this error "Import "evo" could not be resolvedPylancereportMissingImports" there python interpreter selected right.
python slam.py --config /mnt/data/Students/Aman/MonoGS/configs/mono/tum/fr1_desk.yaml
MonoGS: saving results in results/data_TUM_RGBD/2024-11-28-22-44-28
FEngine (64 bits) created at 0x555c48c43a20 (threading is enabled)
FEngine resolved backend: OpenGL
Failed to open X display. (exiting).
MonoGS: Resetting the system
MonoGS: Initialized map
Traceback (most recent call last):
File "slam.py", line 252, in
slam = SLAM(config, save_dir=save_dir)
File "slam.py", line 110, in init
self.frontend.run()
File "/mnt/data/Students/Aman/MonoGS/utils/slam_frontend.py", line 355, in run
monocular=self.monocular,
File "/mnt/data/Students/Aman/MonoGS/utils/eval_utils.py", line 110, in eval_ate
monocular=monocular,
File "/mnt/data/Students/Aman/MonoGS/utils/eval_utils.py", line 29, in evaluate_evo
traj_est_aligned = trajectory.align_trajectory(
AttributeError: module 'evo.core.trajectory' has no attribute 'align_trajectory'
MonoGS: Resetting the opacity of non-visible Gaussians
^CSIGINT: Interrupted by Ctrl-C.
SIGINT: Interrupted by Ctrl-C.
I am using conda env (python=3.7.12) to impliment MonoGS SLAM. I face this error and cant overcome it. When i import evo on terminal there is no error. But on VS code there is this error "Import "evo" could not be resolvedPylancereportMissingImports" there python interpreter selected right.
python slam.py --config /mnt/data/Students/Aman/MonoGS/configs/mono/tum/fr1_desk.yaml
MonoGS: saving results in results/data_TUM_RGBD/2024-11-28-22-44-28
FEngine (64 bits) created at 0x555c48c43a20 (threading is enabled)
FEngine resolved backend: OpenGL
Failed to open X display. (exiting).
MonoGS: Resetting the system
MonoGS: Initialized map
Traceback (most recent call last):
File "slam.py", line 252, in
slam = SLAM(config, save_dir=save_dir)
File "slam.py", line 110, in init
self.frontend.run()
File "/mnt/data/Students/Aman/MonoGS/utils/slam_frontend.py", line 355, in run
monocular=self.monocular,
File "/mnt/data/Students/Aman/MonoGS/utils/eval_utils.py", line 110, in eval_ate
monocular=monocular,
File "/mnt/data/Students/Aman/MonoGS/utils/eval_utils.py", line 29, in evaluate_evo
traj_est_aligned = trajectory.align_trajectory(
AttributeError: module 'evo.core.trajectory' has no attribute 'align_trajectory'
MonoGS: Resetting the opacity of non-visible Gaussians
^CSIGINT: Interrupted by Ctrl-C.
SIGINT: Interrupted by Ctrl-C.