WHU-USI3DV / PatchAugNet

PatchAugNet: Patch feature augmentation-based heterogeneous point cloud place recognition in large-scale street scenes
https://whu-usi3dv.github.io/PatchAugNet/
Apache License 2.0
49 stars 0 forks source link

你好,感谢你们的开源工作,能否用自己的数据进行验证呢?还有就是想把生成的全局描述子提取出来保存,是这部分代码吗? #5

Open bobododosjl opened 3 months ago

bobododosjl commented 3 months ago

if save:

global desc

                        g_desc_pkl = os.path.join(g_desc_dir, f"{beg_idx + b_i}.bin")
                        with open(g_desc_pkl, 'wb') as handle:
                            pickle.dump(g_desc, handle, protocol=pickle.HIGHEST_PROTOCOL)
                        # local desc
                        l_desc_pkl = os.path.join(l_desc_dir, f"{beg_idx + b_i}.bin")
                        with open(l_desc_pkl, 'wb') as handle:
                            pickle.dump((l_pos, l_desc, norm_meta), handle, protocol=pickle.HIGHEST_PROTOCOL)
zouxianghong commented 3 months ago

谢谢,收到

bobododosjl commented 3 months ago

之前,数据集生成我已经参照你们代码改了,但是生成全局描述子过程中报错了,不知道我把pickle改为bin后缀,有没有影响。