Neural-SLAM icon indicating copy to clipboard operation
Neural-SLAM copied to clipboard

two question about GPU and visualization

Open GauleeJX opened this issue 3 years ago • 1 comments

I'm so sorry about questioning!

  1. when i use multiple gpus(for example arguments are -n 10 --num_processes_per_gpu 5) i will get the following error:
    WindowlessContext.cpp:227] check failed: device == 0 (1 vs. 0) glX context does not support multiple GPUs. Please compile with BUILD_GUI_VIEWERS=0 for multi-gpu support via EGL And There are 4 3090 GPUs on my computer.

  2. i add -v 1 as an argument but nothing happen, there are no observations and errors about something.

How can i fix these? I really apprecita any help you can provide.

GauleeJX avatar Jul 12 '22 10:07 GauleeJX

Could you try running this with '-n 1 -v 1'?

devendrachaplot avatar Sep 09 '22 20:09 devendrachaplot

if sys.platform == 'darwin':
    matplotlib.use("tkagg")
else:
    matplotlib.use('Agg')

For visualization, simply comment these lines. It works for my linux.

fatPeter avatar Oct 22 '22 14:10 fatPeter