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

errors about the generating RGB virtual points. #73

Open
ck-png opened this issue Sep 19, 2024 · 3 comments
Open

errors about the generating RGB virtual points. #73

ck-png opened this issue Sep 19, 2024 · 3 comments

Comments

@ck-png
Copy link

ck-png commented Sep 19, 2024

When I run the python3 main.py --detpath ../../data/kitti/semi, it shows the following mistakes:
Traceback (most recent call last):
File "/home/avl1/ck/VirConv/tools/PENet/main.py", line 482, in
main()
File "/home/avl1/ck/VirConv/tools/PENet/main.py", line 394, in main
iterate("test_completion", args, test_loader, model, None, logger, 0)
File "/home/avl1/ck/VirConv/tools/PENet/main.py", line 266, in iterate
vis_utils.save_depth_as_points(pred, i, args.detpath)
File "/home/avl1/ck/VirConv/tools/PENet/vis_utils.py", line 150, in save_depth_as_points
final_points = depth2pointsrgbp(depth, image, calib, lidar)
File "/home/avl1/ck/VirConv/tools/PENet/dataloaders/my_loader.py", line 403, in depth2pointsrgbp
new_p = la_sampling2(new_p)
File "/home/avl1/ck/VirConv/tools/PENet/dataloaders/my_loader.py", line 251, in la_sampling2
return np.concatenate([finals[:, 8:11], finals[:, 3:8]], -1)
IndexError: too many indices for array: array is 1-dimensional, but 2 were indexed

@ck-png ck-png changed the title errors about the semi dataset generating errors about the generating RGB virtual points. Sep 19, 2024
@ckdghks
Copy link

ckdghks commented Nov 6, 2024

Hello,
Have you resolved the issue?
If so, could you please share the solution?

@ckdghks
Copy link

ckdghks commented Nov 8, 2024

I am sharing information that might be helpful to you. I resolved the issue by using the original calib.txt file from the KITTI dataset. After replacing everything with the original calib.txt data, the code ran without any issues. I hope this information helps.

@tankewudi
Copy link

Hello, I have just started working on this project. I have tried configuring the environment using this readme on both VSCode and Psycharm in the early stages, but many errors have occurred. I am currently unsure how to proceed further. Can you help me?

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

3 participants