sxyu / svox2

Plenoxels: Radiance Fields without Neural Networks
BSD 2-Clause "Simplified" License
2.82k stars 360 forks source link

[BUG] New installation method for pytorch library #107

Closed mzillag closed 1 year ago

mzillag commented 1 year ago

Currently, in enironment.yml file versions of pytorch and cudatoolkit is not defined. It caused a problem for colmap: "Error 803: system has unsupported display driver / cuda driver combination". This happens because in last versions installation command looks like this "conda install pytorch torchvision torchaudio pytorch-cuda=11.6 -c pytorch -c nvidia", so cudatoolkit installing with this package now - pytorch-cuda. I reinstalled pytorch with old command (conda install pytorch==1.11.0 torchvision==0.12.0 torchaudio==0.11.0 cudatoolkit=11.3 -c pytorch) and error is gone now.

sxyu commented 1 year ago

hello, I'm unsure why pytorch installation would impact COLMAP, but glad you were able to figure it out. CUDA installations with conda is always kind of easy to mess up

mzillag commented 1 year ago

It happens because we start proc_colmap.sh from conda environment, so .sh script use cudatoolkit from conda, as I see.