NameError: name 'registration' is not defined
Hi @paperstiger @F2Wang ! Please look into this issue,
```
Traceback (most recent call last):
File "compute_gt_poses.py", line 351, in <module>
pose_graph = full_registration(path, max_correspondence_distance_coarse,
File "compute_gt_poses.py", line 152, in full_registration
pose_graph = registration.PoseGraph()
NameError: name 'registration' is not defined
That registration module itself not imported and even don't know that where it is defined.
can you please check it ?
Hi @paperstiger @F2Wang ! Please look into this issue,
``` Traceback (most recent call last): File "compute_gt_poses.py", line 351, in <module> pose_graph = full_registration(path, max_correspondence_distance_coarse, File "compute_gt_poses.py", line 152, in full_registration pose_graph = registration.PoseGraph() NameError: name 'registration' is not definedThat registration module itself not imported and even don't know that where it is defined. can you please check it ?
I can able to solve this by the following way
first do import open3d in this way
from open3d import pipelines
then replace
registration.get_information_matrix_from_point_clouds()
with
pipelines.registration.get_information_matrix_from_point_clouds()
You can simply solve this problem by doing those steps: uninstall opencv-python 4.7 and install opencv 4.6.0.66
Using opencv 4.6.0.66 didnt solve the issue
Hi @paperstiger @F2Wang ! Please look into this issue,
``` Traceback (most recent call last): File "compute_gt_poses.py", line 351, in <module> pose_graph = full_registration(path, max_correspondence_distance_coarse, File "compute_gt_poses.py", line 152, in full_registration pose_graph = registration.PoseGraph() NameError: name 'registration' is not definedThat registration module itself not imported and even don't know that where it is defined. can you please check it ?I can able to solve this by the following way first do import open3d in this way
from open3d import pipelinesthen replaceregistration.get_information_matrix_from_point_clouds()withpipelines.registration.get_information_matrix_from_point_clouds()
Thank u very much! Tha saved me.