Closed 309020726 closed 1 year ago
Hi,
It is related to Open3D and so it needs a display/screen connected to the machine where you are executing the code. If you are trying to execute it in a screenless machine like a remote cluster, maybe you can try with "xvfb":
xvfb-run python apps/tracking_ours/main.py -d cuda:0 -i path/to/hamlyn_tracking_test_data/test1 -o apps/tracking_ours/results
But I have not tried this. If not, you can try modifying a bit the code to not execute the visualization part, which is what uses Open3D.
Hope this helps :).
It‘s ok, thanks for your help.
Hello, here's another question.How do I fix this?
[I 231016 19:37:53 main:125] Reseting scene.
[I 231016 19:37:58 main:186] KEYFRAME INSERTED
Computing time 5065ms
Traceback (most recent call last):
File "apps/tracking_ours/main.py", line 424, in
Hi,
Make sure that you are using a version of Kornia where the function "kornia.depth_to_3d" has the argument "normalize_points", like kornia 0.6.0.
Your help was very much appreciated.
Can someone help me deal with this problem? Thanks for your help.
Traceback (most recent call last):
File "apps/tracking_ours/main.py", line 427, in
python apps/tracking_ours/main.py -d cuda:0 -i path/to/hamlyn_tracking_test_data/test1 -o apps/tracking_ours/results [Open3D WARNING] GLFW Error: X11: The DISPLAY environment variable is missing [Open3D WARNING] Failed to initialize GLFW [Open3D WARNING] GLFW Error: X11: The DISPLAY environment variable is missing [Open3D WARNING] Failed to initialize GLFW [I 231011 16:39:40 main:125] Reseting scene. Segmentation error (core dumped)
how to deal with this problem? Thanks for your help.
Hi,
Could you implement correct tracking without visualizations after changing the code? I modified the code so that it can be traced without visualization. But the pose estimation was incorrect. Every two consecutive frames have the same pose.
Hope you have any thought on this.
Thanks!
python apps/tracking_ours/main.py -d cuda:0 -i path/to/hamlyn_tracking_test_data/test1 -o apps/tracking_ours/results [Open3D WARNING] GLFW Error: X11: The DISPLAY environment variable is missing [Open3D WARNING] Failed to initialize GLFW [Open3D WARNING] GLFW Error: X11: The DISPLAY environment variable is missing [Open3D WARNING] Failed to initialize GLFW [I 231011 16:39:40 main:125] Reseting scene. Segmentation error (core dumped)
how to deal with this problem? Thanks for your help.