This is a tested, working, clean install guide for InstantSfM on Linux with:
- GPU: NVIDIA Turing (sm_75, e.g. RTX聽2080/2070/Super/Quadro T-series)
- CUDA Runtime 12.x
- Python聽3.12
- Conda environment
- Torch 2.3.1+cu121
sudo apt install wget alien libjpeg62 libcurl4 libaudiofile1 libtinfo5 python mesa-opencl-icd xfonts-100dpi xfonts-75dpi
wget http://ftp.br.debian.org/debian/pool/main/o/openssl1.0/libssl1.0.2_1.0.2u-1~deb9u1_amd64.deb
wget https://download-ib01.fedoraproject.org/pub/fedora/linux/releases/33/Everything/x86_64/os/Packages/l/libpng15-1.5.30-11.fc33.x86_64.rpm
fakeroot alien -vc libpng15-1.5.30-11.fc33.x86_64.rpm| float fract(float a) { | |
| return a - floor(a); | |
| } | |
| point fract(point p) { | |
| return point(fract(p[0]), fract(p[1]), fract(p[2])); | |
| } | |
| float lerp(float a, float b, float t) { | |
| return (1 - t) * a + t * b; | |
| } |
| This is a simple mip-map debug texture created following the steps outlined in this article: | |
| https://arnoldsupport.com/2017/11/02/using-oiiotool-and-maketx-to-create-a-mipmap-debug-texture/ |