chrischoy / DeepGlobalRegistration

[CVPR 2020 Oral] A differentiable framework for 3D registration
Other
468 stars 85 forks source link

3DMatch testing error #43

Closed gitouni closed 2 years ago

gitouni commented 2 years ago

Dear @chrischoy ,thank you for sharing your code. I have FileNotFoundError when testing 3DMatch.

I have downlaoded 3DMatch dataset through download_3dmatch.sh and run relevant script test_3dmatch.sh. However, it cannot find a file with the suffix of gt.log (Line 173 in threedmatch_loader.py).

    if scene_id is not None:
      subset_names = [subset_names[scene_id]]
    for sname in subset_names:
      traj_file = os.path.join(self.root, sname + '-evaluation/gt.log')  # cannot be found
      assert os.path.exists(traj_file)
      traj = read_trajectory(traj_file)
      for ctraj in traj:
        i = ctraj.metadata[0]
        j = ctraj.metadata[1]
        T_gt = ctraj.pose
        self.files.append((sname, i, j, T_gt))

I will appreciate for your reply.

gitouni commented 2 years ago

Need to download Trajectory data and evaluation on https://3dmatch.cs.princeton.edu/#geometric-registration-benchmark by yourself. Relevant Bash Code can be found in https://github.com/chrischoy/FCGF/blob/master/scripts/download_3dmatch_test.sh.