ucla-mobility / V2V4Real

[CVPR2023 Highlight] The official codebase for paper "V2V4Real: A large-scale real-world dataset for Vehicle-to-Vehicle Cooperative Perception"
Other
192 stars 12 forks source link

Qustion of Start #10

Closed YuJiXYZ closed 1 year ago

YuJiXYZ commented 1 year ago

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~

DerrickXuNu commented 1 year ago

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

YuJiXYZ commented 1 year ago

Oh, the spconv version is spconv-cu113 2.3.6 .

YuJiXYZ commented 1 year ago

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

DerrickXuNu commented 1 year ago

Can you try a bit lower version, like 2.0.0?

On Mon, Jun 19, 2023 at 22:54 YuJiXYZ @.***> wrote:

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

— Reply to this email directly, view it on GitHub https://github.com/ucla-mobility/V2V4Real/issues/10#issuecomment-1598158096, or unsubscribe https://github.com/notifications/unsubscribe-auth/APFOSKZMCAIBLVUKANO37JLXME3IPANCNFSM6AAAAAAZL7FI3M . You are receiving this because you commented.Message ID: @.***>

YuJiXYZ commented 1 year ago

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

DerrickXuNu commented 1 year ago

Are you able to run import spconv separately? I think there is something wrong with your spconv installation

On Tue, Jun 20, 2023 at 00:01 YuJiXYZ @.***> wrote:

OK, I have tried the version of 2.1.16 ( which is lowest version of matching), and the mistake is following: [image: image] https://user-images.githubusercontent.com/106587670/247031828-9f236ff1-f8d7-437b-9655-1dcc5455abfd.png

— Reply to this email directly, view it on GitHub https://github.com/ucla-mobility/V2V4Real/issues/10#issuecomment-1598221666, or unsubscribe https://github.com/notifications/unsubscribe-auth/APFOSK4M62GN2ZFMCDOWILTXMFDENANCNFSM6AAAAAAZL7FI3M . You are receiving this because you commented.Message ID: @.***>

YuJiXYZ commented 1 year ago

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~

DerrickXuNu commented 1 year ago

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.

YuJiXYZ commented 1 year ago

OK, I try it again. Thank you.

eddyhkchiu commented 1 year ago

Hi YuJiXYZ,

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

Thanks!

DerrickXuNu commented 1 year ago

Did you have a spconv cuda mismatch ? Previously, when I have my cuda in Nvidia-driver as 11.6, but spconv with cuda11.3, this issue raised On Fri, Jun 23, 2023 at 14:00 eddyhkchiu @.***> wrote:

Hi YuJiXYZ https://github.com/YuJiXYZ,

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

Thanks!

— Reply to this email directly, view it on GitHub https://github.com/ucla-mobility/V2V4Real/issues/10#issuecomment-1604960023, or unsubscribe https://github.com/notifications/unsubscribe-auth/APFOSKZHRUVOPMBIABNQBX3XMX7VLANCNFSM6AAAAAAZL7FI3M . You are receiving this because you commented.Message ID: @.***>

eddyhkchiu commented 1 year ago

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!

YuJiXYZ commented 1 year ago

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.

WangzcBruce commented 1 year ago

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

WangzcBruce commented 1 year ago

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

YuJiXYZ commented 1 year ago

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

DerrickXuNu commented 1 year ago

Hi Bruce,

Your issue is very easy to fix. You are giving a non-existing path. You need to change the validate_dir in yaml to your local path.

On Thu, Jun 29, 2023 at 22:10 YuJiXYZ @.***> wrote:

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

— Reply to this email directly, view it on GitHub https://github.com/ucla-mobility/V2V4Real/issues/10#issuecomment-1614137110, or unsubscribe https://github.com/notifications/unsubscribe-auth/APFOSK23WKII62OIPK7VHO3XNZNWBANCNFSM6AAAAAAZL7FI3M . You are receiving this because you commented.Message ID: @.***>

YuJiXYZ commented 1 year ago

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

WangzcBruce commented 1 year ago

Thank you a lot, Runsheng .Exactly, it lacks a visualization windows in the server of Ubuntu, leading to open3d creating windows error(Nonetype). I have installed xorg and started X11-forward of the linux server to fix the error.

----- Original Message ----- From: "Runsheng Xu" @.> To: ucla-mobility/V2V4Real @.> Cc: Bruce @.>, Comment @.> Sent: Thu, 29 Jun 2023 22:12:40 -0700 Subject: Re: [ucla-mobility/V2V4Real] Qustion of Start (Issue #10)

Hi Bruce,

Your issue is very easy to fix. You are giving a non-existing path. You need to change the validate_dir in yaml to your local path.

On Thu, Jun 29, 2023 at 22:10 YuJiXYZ @.***> wrote:

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

— Reply to this email directly, view it on GitHub https://github.com/ucla-mobility/V2V4Real/issues/10#issuecomment-1614137110, or unsubscribe https://github.com/notifications/unsubscribe-auth/APFOSK23WKII62OIPK7VHO3XNZNWBANCNFSM6AAAAAAZL7FI3M . You are receiving this because you commented.Message ID: @.***>

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

DerrickXuNu commented 1 year ago

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?

YuJiXYZ commented 1 year ago

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