Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to evaluate ETH dataset #26

Closed
mtli77 opened this issue Oct 25, 2020 · 1 comment
Closed

How to evaluate ETH dataset #26

mtli77 opened this issue Oct 25, 2020 · 1 comment

Comments

@mtli77
Copy link

mtli77 commented Oct 25, 2020

Hi @XuyangBai
Sorry for the bother again! I am trying to evaluate the ETH dataset using result which is been tested on the kitti model.
I ran the script D3Feat/geometric_registration_eth/ evaluate_eth.py , errors reports here:

multiprocessing.pool.RemoteTraceback: 
"""
Traceback (most recent call last):
  File "/home/ubuntu/.conda/envs/tia36/lib/python3.6/multiprocessing/pool.py", line 119, in worker
    result = (True, func(*args, **kwds))
  File "/home/ubuntu/.conda/envs/tia36/lib/python3.6/multiprocessing/pool.py", line 44, in mapstar
    return list(map(*args))
  File "/disk/tia/D3Feat/geometric_registration_eth/evaluate_eth.py", line 100, in deal_with_one_scene
    os.mkdir(f"/disk/tia/D3Feat/geometric_registration_eth/pred_result/{scene}/")
FileNotFoundError: [Errno 2] No such file or directory: '/disk/tia/D3Feat/geometric_registration_eth/pred_result/wood_summer/'
"""

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/disk/tia/D3Feat/geometric_registration_eth/evaluate_eth.py", line 136, in <module>
    pool.map(func, scene_list)
  File "/home/ubuntu/.conda/envs/tia36/lib/python3.6/multiprocessing/pool.py", line 266, in map
    return self._map_async(func, iterable, mapstar, chunksize).get()
  File "/home/ubuntu/.conda/envs/tia36/lib/python3.6/multiprocessing/pool.py", line 644, in get
    raise self._value
FileNotFoundError: [Errno 2] No such file or directory: '/disk/tia/D3Feat/geometric_registration_eth/pred_result/wood_summer/'

I revised the function deal_with_one_scene and found that the pred_result folder can't be generated.

    if not os.path.exists(f"pred_result/{scene}/"):
        os.mkdir(f"pred_result/{scene}/")

So, how to solve this problem?
Thank you very much!

@XuyangBai
Copy link
Owner

You should first create the folder pred_result manually, then the folder for each scene can be generated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants