ucla-mobility/V2V4Real

Qustion of Start

Closed this issue · 21 comments

Hello, Dr. Xu, thank you for your outstanding work. I am currently retrying your code.

The problem I encountered is when visualizing the data sequence and displaying this error:'

1687182249468

I don't know what problem caused it, could you help me answer it?
Looking forward to your reply. Thank you very much~

Thanks for using V2V4Real! It seems that you are installing a wrong spconv. What is the spconv version you are using?

Oh, the spconv version is spconv-cu113 2.3.6 .

And I have tried the version of 2.3.3 and 2.3.5, the problem is also there.

OK, I have tried the version of 2.1.16 ( which is lowest version of matching), and the mistake is following:
image

Yes, I can not import spconv separately. (So I don't know how to slove it?)
And I have tried setup again, but the problem is always there.
When I run "python opencood/utils/setup.py build_ext --inplace" command, I face the warning:
image
And I run it again, the warning is disappear, so I'm not sure if this is the problem.

Thank you~

Yes, I can not import spconv separately. (So I don't know how to slove it?)

And I have tried setup again, but the problem is always there.

When I run "python opencood/utils/setup.py build_ext --inplace" command, I face the warning:

image

And I run it again, the warning is disappear, so I'm not sure if this is the problem.

Thank you~

The "build_ext" is not the issue. There may be something wrong with your cuda version, please refer to spconv repo to resolve the issue.

OK, I try it again. Thank you.

Hi YuJiXYZ,

I am facing exact the same ImportError when running the starting visualization command.
Could you share how you solve this problem?

Thanks!

Hi Derrick,

Thanks for your reply.
From my nvidia-smi command, my nvidia-driver version is
NVIDIA-SMI 465.19.01
Driver Version: 465.19.01
CUDA Version: 11.3

And my spconv version was
spconv-cu113 2.3.6

I tried several different versions of spconv-cu113, and found 2.2.2 does not have this ImportError.
And my visualization command got another error related to Open3D display as follows, which seems to be a separate issue.

[Open3D WARNING] GLFW Error: GLX: Forward compatibility requested but GLX_ARB_create_context_profile is unavailable
[Open3D WARNING] Failed to create window
Traceback (most recent call last):
File "opencood/visualization/vis_data_sequence.py", line 36, in
color_mode=opt.color_mode)
File "/home/eddy/V2V4Real/opencood/visualization/vis_utils.py", line 683, in visualize_sequence_dataloader
vis.get_render_option().background_color = [1.0, 1.0, 1.0]
AttributeError: 'NoneType' object has no attribute 'background_color'

Thanks!

Hi, eddyhkchiu

I find the problem before is my high vision of cuda. And I solve it.
I also encountered this issue during the visualization process. The Error is the same as you. I know it's the problem of Open3D.
By the way, I encountered this issue when I train other repos of Dr. Xu, such as v2xvit. I have trying some solution before that don't work.
So I just train it now.

Nvidia-driver
Uploading image.png…
I have faced the same question. my cuda version is 11.3 and spconv-cu113=2.3.6

Hi Derrick,

Thanks for your reply. From my nvidia-smi command, my nvidia-driver version is NVIDIA-SMI 465.19.01 Driver Version: 465.19.01 CUDA Version: 11.3

And my spconv version was spconv-cu113 2.3.6

I tried several different versions of spconv-cu113, and found 2.2.2 does not have this ImportError. And my visualization command got another error related to Open3D display as follows, which seems to be a separate issue.

[Open3D WARNING] GLFW Error: GLX: Forward compatibility requested but GLX_ARB_create_context_profile is unavailable [Open3D WARNING] Failed to create window Traceback (most recent call last): File "opencood/visualization/vis_data_sequence.py", line 36, in color_mode=opt.color_mode) File "/home/eddy/V2V4Real/opencood/visualization/vis_utils.py", line 683, in visualize_sequence_dataloader vis.get_render_option().background_color = [1.0, 1.0, 1.0] AttributeError: 'NoneType' object has no attribute 'background_color'

Thanks!

Friend, have you fixed the nonetype error?
image

I have not fixed yet either.
I think we still need to ask DerrickXuNu for a solution to the problem. (●'◡'●)

Hi, DerrickXuNu
I have changed the validate_dir in yaml to my local path. But the mistake is following, what's the problem?
image

Hi, DerrickXuNu

I have changed the validate_dir in yaml to my local path. But the mistake is following, what's the problem?

image

Are you running on a remote server?

Yes, I have opened X11-forward and use the VcXsrv to forward my window.
But I cann't get the visualization windows.