WeijingShi / Point-GNN

Point-GNN: Graph Neural Network for 3D Object Detection in a Point Cloud, CVPR 2020.
MIT License
523 stars 114 forks source link

GLFW Error and AttributeError #42

Closed r-sy closed 3 years ago

r-sy commented 3 years ago

Thank you for your open source! When I was running the program and visualizing it:

python3 run.py checkpoints/car_auto_T3_trainval/ --test --dataset_root_dir /home/newdisk/dataset/kitti --output_dir /home/newdisk/result/Point-GNN -l 2

I encountered the following problem:

Configure the viewpoint as you want and press [q] GLFW Error: GLX: GLX version 1.3 is required Failed to create window 0%| | 0/7518 [00:02<?, ?it/s] Traceback (most recent call last): File "run.py", line 535, in custom_draw_geometry_load_option([pcd, line_set, graph_line_set]) File "run.py", line 532, in custom_draw_geometry_load_option ctr.rotate(0.0, 3141.0, 0) AttributeError: 'NoneType' object has no attribute 'rotate'

If I don’t visualize, the program runs normally. How to solve this problem? Looking forward to your reply!Best wishes!

WeijingShi commented 3 years ago

Hi @r-sy, Thank you very much for your interest. This error is also new to me. I tested the visualization on a fresh Ubuntu 16.04 desktop. Are you running the code on the server-side? Open3D might have issues to steam the graphics over the remote session.

r-sy commented 3 years ago

yes,I run the code on the server-side. I will try it on my laptop, thank you.