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

problem with creat_semi_dataset.py #78

Open
wittycheng opened this issue Jan 22, 2025 · 0 comments
Open

problem with creat_semi_dataset.py #78

wittycheng opened this issue Jan 22, 2025 · 0 comments

Comments

@wittycheng
Copy link

Linux cheng 6.8.0-51-generic #52-Ubuntu SMP PREEMPT_DYNAMIC Thu Dec 5 13:09:44 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
NVIDIA-SMI 550.120 Driver Version: 550.120 CUDA Version: 12.4
when I was using creat_semi_dataset.py this occured

0 / 10888
Traceback (most recent call last):
  File "/home/cheng/VirConv/tools/creat_semi_dataset.py", line 73, in <module>
    move_data(input_path_dict, out_path)
  File "/home/cheng/VirConv/tools/creat_semi_dataset.py", line 66, in move_data
    copy_calib(in_calib_path, out_calib_path)
  File "/home/cheng/VirConv/tools/creat_semi_dataset.py", line 29, in copy_calib
    Tr = 'Tr_velo_to_cam'+all_info[4][2:]
IndexError: list index out of range

it seems that it is caused by variable allinfo.

all_info is ['P0: 7.188560000000e+02 0.000000000000e+00 6.071928000000e+02 0.000000000000e+00 0.000000000000e+00 7.188560000000e+02 1.852157000000e+02 0.000000000000e+00 0.000000000000e+00 0.000000000000e+00 1.000000000000e+00 0.000000000000e+00\n', 'P1: 7.188560000000e+02 0.000000000000e+00 6.071928000000e+02 -3.861448000000e+02 0.000000000000e+00 7.188560000000e+02 1.852157000000e+02 0.000000000000e+00 0.000000000000e+00 0.000000000000e+00 1.000000000000e+00 0.000000000000e+00\n', 'P2: 7.188560000000e+02 0.000000000000e+00 6.071928000000e+02 4.538225000000e+01 0.000000000000e+00 7.188560000000e+02 1.852157000000e+02 -1.130887000000e-01 0.000000000000e+00 0.000000000000e+00 1.000000000000e+00 3.779761000000e-03\n', 'P3: 7.188560000000e+02 0.000000000000e+00 6.071928000000e+02 -3.372877000000e+02 0.000000000000e+00 7.188560000000e+02 1.852157000000e+02 2.369057000000e+00 0.000000000000e+00 0.000000000000e+00 1.000000000000e+00 4.915215000000e-03\n'] len of all_info is 4

Is there fixed version of creat_semi_dataset.py?

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