rabbityl / lepard

[CVPR 2022, Oral] Learning Partial point cloud matching in Rigid and Deformable scenes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

when i trained using 3dmatch , the dataloader have one problem

WuHaoYu21 opened this issue · comments

in main.py line 99 ,'cofig.train_loader, neighborhood_limits = get_dataloader(train_set,config,shuffle=True)'
this line have one problem.
the 'train_set' need one file '3dmatch/3dmatch/train/rgbd-scenes-v2-scene_01/cloud_bin_1.pth' , but i can't find the ''cloud_bin_1.pth''.
i have already download 3dmatch.zip ,and unzip this file.
but in the unzip file,i don't find the ''cloud_bin_1.pth''.
i hope you can help me.
thank you very much.

commented

Please post the error log

I have encountered the same problem.

This is the error log:

(Lepard) G:\lepard>python main.py configs/test/3dmatch.yaml
Traceback (most recent call last):
  File "main.py", line 99, in <module>
    config.train_loader, neighborhood_limits = get_dataloader(train_set,config,shuffle=True)
  File "G:\lepard\datasets\dataloader.py", line 622, in get_dataloader
    neighborhood_limits = calibrate_neighbors(dataset, config['kpfcn_config'], collate_fn=collate_fn)
  File "G:\lepard\datasets\dataloader.py", line 571, in calibrate_neighbors
    batched_input = collate_fn([dataset[i]], config, neighborhood_limits=[hist_n] * 5)
  File "G:\lepard\datasets\_3dmatch.py", line 67, in __getitem__
    src_pcd = torch.load(src_path)
  File "E:\Anaconda3\envs\Lepard\lib\site-packages\torch\serialization.py", line 579, in load
    with _open_file_like(f, 'rb') as opened_file:
  File "E:\Anaconda3\envs\Lepard\lib\site-packages\torch\serialization.py", line 230, in _open_file_like
    return _open_file(name_or_buffer, mode)
  File "E:\Anaconda3\envs\Lepard\lib\site-packages\torch\serialization.py", line 211, in __init__
    super(_open_file, self).__init__(open(name, mode))
FileNotFoundError: [Errno 2] No such file or directory: 'data/3dmatch\\train/rgbd-scenes-v2-scene_01/cloud_bin_1.pth'

yes.
Maybe the dataset:3dmatch.zip has been already changed?
So, we can't find the ****.pth ?
i don't know.

I have encountered the same problem.

This is the error log:

(Lepard) G:\lepard>python main.py configs/test/3dmatch.yaml
Traceback (most recent call last):
  File "main.py", line 99, in <module>
    config.train_loader, neighborhood_limits = get_dataloader(train_set,config,shuffle=True)
  File "G:\lepard\datasets\dataloader.py", line 622, in get_dataloader
    neighborhood_limits = calibrate_neighbors(dataset, config['kpfcn_config'], collate_fn=collate_fn)
  File "G:\lepard\datasets\dataloader.py", line 571, in calibrate_neighbors
    batched_input = collate_fn([dataset[i]], config, neighborhood_limits=[hist_n] * 5)
  File "G:\lepard\datasets\_3dmatch.py", line 67, in __getitem__
    src_pcd = torch.load(src_path)
  File "E:\Anaconda3\envs\Lepard\lib\site-packages\torch\serialization.py", line 579, in load
    with _open_file_like(f, 'rb') as opened_file:
  File "E:\Anaconda3\envs\Lepard\lib\site-packages\torch\serialization.py", line 230, in _open_file_like
    return _open_file(name_or_buffer, mode)
  File "E:\Anaconda3\envs\Lepard\lib\site-packages\torch\serialization.py", line 211, in __init__
    super(_open_file, self).__init__(open(name, mode))
FileNotFoundError: [Errno 2] No such file or directory: 'data/3dmatch\\train/rgbd-scenes-v2-scene_01/cloud_bin_1.pth'

Thise

I have encountered the same problem.

This is the error log:

(Lepard) G:\lepard>python main.py configs/test/3dmatch.yaml
Traceback (most recent call last):
  File "main.py", line 99, in <module>
    config.train_loader, neighborhood_limits = get_dataloader(train_set,config,shuffle=True)
  File "G:\lepard\datasets\dataloader.py", line 622, in get_dataloader
    neighborhood_limits = calibrate_neighbors(dataset, config['kpfcn_config'], collate_fn=collate_fn)
  File "G:\lepard\datasets\dataloader.py", line 571, in calibrate_neighbors
    batched_input = collate_fn([dataset[i]], config, neighborhood_limits=[hist_n] * 5)
  File "G:\lepard\datasets\_3dmatch.py", line 67, in __getitem__
    src_pcd = torch.load(src_path)
  File "E:\Anaconda3\envs\Lepard\lib\site-packages\torch\serialization.py", line 579, in load
    with _open_file_like(f, 'rb') as opened_file:
  File "E:\Anaconda3\envs\Lepard\lib\site-packages\torch\serialization.py", line 230, in _open_file_like
    return _open_file(name_or_buffer, mode)
  File "E:\Anaconda3\envs\Lepard\lib\site-packages\torch\serialization.py", line 211, in __init__
    super(_open_file, self).__init__(open(name, mode))
FileNotFoundError: [Errno 2] No such file or directory: 'data/3dmatch\\train/rgbd-scenes-v2-scene_01/cloud_bin_1.pth'

i know how to solve this problem.
The dataset , you need to download from https://github.com/overlappredator/OverlapPredator

commented

in main.py line 99 ,'cofig.train_loader, neighborhood_limits = get_dataloader(train_set,config,shuffle=True)' this line have one problem. the 'train_set' need one file '3dmatch/3dmatch/train/rgbd-scenes-v2-scene_01/cloud_bin_1.pth' , but i can't find the ''cloud_bin_1.pth''. i have already download 3dmatch.zip ,and unzip this file. but in the unzip file,i don't find the ''cloud_bin_1.pth''. i hope you can help me. thank you very much.

Hi, I have some questions about Lepard debugging. dataset/dataloader.py line 5 I can't find the file for cpp_wrappers.cpp_neighbors. Radius_neighbors Can we add QQ friends to chat each other QQ number: 844787024

cd cpp_wrappers
sh compile_wrappers.sh
cd ..

i can't find your qq number

I also have the same problem, may I ask how to solve it at last???

I have encountered the same problem.
This is the error log:

(Lepard) G:\lepard>python main.py configs/test/3dmatch.yaml
Traceback (most recent call last):
  File "main.py", line 99, in <module>
    config.train_loader, neighborhood_limits = get_dataloader(train_set,config,shuffle=True)
  File "G:\lepard\datasets\dataloader.py", line 622, in get_dataloader
    neighborhood_limits = calibrate_neighbors(dataset, config['kpfcn_config'], collate_fn=collate_fn)
  File "G:\lepard\datasets\dataloader.py", line 571, in calibrate_neighbors
    batched_input = collate_fn([dataset[i]], config, neighborhood_limits=[hist_n] * 5)
  File "G:\lepard\datasets\_3dmatch.py", line 67, in __getitem__
    src_pcd = torch.load(src_path)
  File "E:\Anaconda3\envs\Lepard\lib\site-packages\torch\serialization.py", line 579, in load
    with _open_file_like(f, 'rb') as opened_file:
  File "E:\Anaconda3\envs\Lepard\lib\site-packages\torch\serialization.py", line 230, in _open_file_like
    return _open_file(name_or_buffer, mode)
  File "E:\Anaconda3\envs\Lepard\lib\site-packages\torch\serialization.py", line 211, in __init__
    super(_open_file, self).__init__(open(name, mode))
FileNotFoundError: [Errno 2] No such file or directory: 'data/3dmatch\\train/rgbd-scenes-v2-scene_01/cloud_bin_1.pth'

i know how to solve this problem. The dataset , you need to download from https://github.com/overlappredator/OverlapPredator

I still have the same problem after downloading it,I don't know how to solve it.

commented

I also upload the correct 3DMatch to google drive. Have a try.
https://drive.google.com/file/d/14gwrAdk8CPlm1SszUYu4w7oMqgx6Nyqa/view?usp=sharing