DetectorFreeSfM icon indicating copy to clipboard operation
DetectorFreeSfM copied to clipboard

Install Environment Question

Open yoowy90 opened this issue 9 months ago • 5 comments

I try to install this but there are a lot of issues during install other libraries ex. torch and cuda version dependency, colmap, multi-view evaluation tool I think that is because versions of ubuntu, cuda, etc... are different. Can you tell me detail install environments??

yoowy90 avatar May 14 '24 08:05 yoowy90

Our code is tested on the machine with ubuntu 18.04, and CUDA version is 11.7. We have tested it on other machines such as ubuntu 20.04 and CUDA 11.3, 10.2, etc., and the code also works well.

hxy-123 avatar May 14 '24 11:05 hxy-123

CMake Error at ~/local/cmake-3.25.2-linux-x86_64/share/cmake-3.25/Modules/FindPackageHandleStandardArgs.cmake:230 (message): Could NOT find CUDAToolkit: Found unsuitable version "11.7.64", but required is at least "11.8.89" (found /usr/local/cuda-11.7/include) Call Stack (most recent call first): ~/local/cmake-3.25.2-linux-x86_64/share/cmake-3.25/Modules/FindPackageHandleStandardArgs.cmake:598 (_FPHSA_FAILURE_MESSAGE) ~/local/cmake-3.25.2-linux-x86_64/share/cmake-3.25/Modules/FindCUDAToolkit.cmake:869 (find_package_handle_standard_args) ~/local/cmake-3.25.2-linux-x86_64/share/cmake-3.25/Modules/CMakeFindDependencyMacro.cmake:47 (find_package) /usr/local/lib/cmake/Ceres/CeresConfig.cmake:182 (find_dependency) CMakeLists.txt:90 (find_package)

I used the same version (11.7),but your modified colmap seemingly requires 11.8 at least. Can you help me? Thanks! @hxy-123

VerseWei avatar May 16 '24 07:05 VerseWei

  1. I uninstalled gcc11.4 and used gcc 9.4 to replace it, this issue has been fixed. @hypochlorous

VerseWei avatar May 17 '24 02:05 VerseWei

Can I use a different pytorch version from 1.8.0? 1.8.0 does not have precompiled binary with CUDA=11.7. Or do I have to compile pytorch myself?

Coronal-Halo avatar May 18 '24 01:05 Coronal-Halo

Can I use a different pytorch version from 1.8.0? 1.8.0 does not have precompiled binary with CUDA=11.7. Or do I have to compile pytorch myself?

The overall repo doesn't have specific dependencies of pytorch version. I think you can feel free to try to use other pytorch versions.

hxy-123 avatar May 18 '24 09:05 hxy-123