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 use 'visualization.py' #46

Open
AkinoriKotani opened this issue Jan 6, 2021 · 0 comments
Open

How to use 'visualization.py' #46

AkinoriKotani opened this issue Jan 6, 2021 · 0 comments

Comments

@AkinoriKotani
Copy link

Hello!!
I'm sorry to ask you a lot of questions during your busy schedule.
I have some questions about how to project LiDAR segmentation results onto a camera image.

  1. Is it correct that the program that projects the LiDAR segmentation results onto RGB images uses visualization.py ?

  2. If you are using visualization.py, how do you actually project them onto RGB images?
    It seems that it can be done by adding basedir, sequence, uncerts, and so on.
    And then, I think that it is possible to run it with $ python visualization.py, but it cannot be done well.

basedir = '~/SalsaNext/pred-valid'
sequence = '08'
uncerts = ' '
preds = 'predictions'
gt = ' '
img = '~/Dataset/KITTI/dataset/sequences/08/image_2/'
lidar = '~/Dataset/SemanticKITTI/dataset/sequences/08/'
projected_uncert = ' '
projected_preds = ' '

Each value is tentatively defined as above. and these blanks, I could not understand which path to specify.
As a result of executing it for the time being, it became as follows.

$ python3 visualization.py
Ground truth poses are not avaialble for sequence 08.
Traceback (most recent call last):
  File "visualization.py", line 78, in <module>
    color_map_dict = yaml.safe_load(open("color_map.yml"))['color_map']
FileNotFoundError: [Errno 2] No such file or directory: 'color_map.yml'
  • What are uncerts, gt, projented_uncert, and projected_preds ?
  • What is color_map.yml ?
  • Is it possible to project to RGB with Seq-08 ?

Thank you for your cooperation.

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

1 participant