nerfstudio
nerfstudio copied to clipboard
qt.qpa.screen: QXcbConnection: Could not connect to display
$ ns-process-data --data room.mov --output-dir data/
Number of frames in video: 1616
[07:47:09] ๐ Done converting video to images. process_data.py:433
[07:47:21] ๐ Done downscaling images. process_data.py:451
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ ๐ ๐ ๐ ERROR ๐ ๐ ๐ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Error running command: colmap feature_extractor --database_path data/colmap/database.db --image_path data/images
--ImageReader.single_camera 1 --ImageReader.camera_model OPENCV --SiftExtraction.use_gpu 1
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
qt.qpa.screen: QXcbConnection: Could not connect to display
Could not connect to any X display.
Probably the same issue as this. I was able to run it by adding the --no-gpu flag. https://github.com/colmap/colmap/issues/18
ๅบ่ฏฅๆฏๅ่ฟไธชไธๆ ท็้ฎ้ขใๆๅฏไปฅ้่ฟๆทปๅ --no-gpu ๆ ๅฟๆฅ่ฟ่กๅฎใ colmap/colmap#18 This is fine, but the preprocessing time is too long without gpu acceleration. Is there another solution: use gpu acceleration without opening the colmap graphics window.
Hi @Wushuangpin do you know if the solution of using GPU without opening graphics window is possible as the quoted message notes? How can be done? Thanks in advance!
This issue (re)occured a few days ago to me in some testing environment which is most likely to changes in the dev branch of colmap. You should always use defined versions, optimally a release like 3.7 and you should be fine again. See Colmap v3.7
Can you please try this and give information about the colmap version you're using?
Closing as it appears to be stale. Feel free to reopen if needed.
Since sudo apt install colmap
usually installs without CUDA๏ผconda install -c conda-forge colmap
work for me.