Closed zhirihuixin closed 2 years ago
Hello,
One way you can try is to set config.num_workers = 0
in
https://github.com/zhulf0804/NgeNet/blob/d4917f22e55195132ec6fc602554102d321ce4b5/eval_3dmatch.py#L50
However, it greatly influences the inference speed.
Another way you can try is to use Open3d V0.10
.
Best regards.
With the Open3d V0.10 version, the problem is solved.
Thank you
我在3DMatch数据集上测试,遇到了Segmentation fault错误,为了方便描述,直接用中文了,见谅
环境: Ubuntu 18.04.5 LTS cuda 10.2 torch 1.8.1 open3d 0.15.2
执行命令:
python eval_3dmatch.py --benchmark 3DMatch --data_root ./data/indoor/ --checkpoint NgeNet_weights/3dmatch.pth --saved_path work_dirs/3dmatch --no_cuda
定位在 ThreeDMatch.py 74行,执行normal的时候
src_pcd, tgt_pcd = normal(npy2pcd(src_points)), normal(npy2pcd(tgt_points))
normal的代码我做了注释,发现生成dataloader时调用执行正常,测试阶段会在执行pcd.estimate_normals时报错,执行结果代码贴在下面了