首先感谢:

3D Gaussian Splatting 3D Gaussian Splatting的使用_训练3d gaussian splatting模型步骤-CSDN博客

3D Gaussian Spaltting代码复现全流程与代码结构解读_3dgs代码复现步骤-CSDN博客

3D Gaussian Splatting cuda源码解读 - 知乎

3D Gaussian Splatting入门指南 - 哔哩哔哩

再懒点的直接建议 audodl镜像 感谢大哥 hhyxnh

步骤  cuda pytorch 就按要求

git clone https://github.com/graphdeco-inria/gaussian-splatting --recursive
======不这样就少三个包 自己zip下载 哭死=======

少的

/submodules/diff-gaussian-rasterization 

/submodules/diff-gaussian-rasterization/third_party/glm

/submodules/simple-knn

SIBR 也是空文件

然后

/submodules/diff-gaussian-rasterization   这个安装也是个大坑

pip install submodules/diff-gaussian-rasterization
pip install submodules/simple-knn

linux版可视化 没有安装成功,以下不参考也罢

======还有这个 SIBR_viewers 也是无敌坑 zip里面是空文件  参考这个试试====

填坑 3D gaussian splatting里SIBR_viewers的安装_slbr_3dgaussian-CSDN博客

非常惨 要求openc4.5 需要升级

Ubuntu 20.04搭建OpenCV 4.5.0 & C++环境_opencv4 ubuntu20.04-CSDN博客

https://github.com/opencv/opencv/archive/4.5.0.zip  下载地址

4.5.0的按照这个方法Ubuntu20下 vscode配置OpenCV 4.5.5_ubuntu vscode配置opencv-CSDN博客 可以

4.5.5的报错 看不懂解决不了 #@¥@#¥@#¥@#!%¥&……¥%……

wget -O opencv.zip https://github.com/opencv/opencv/archive/4.5.5.zip

鬼报错
CheckFunctionExists.c:(.text.startup.main+0x10): undefined reference to `setmode'
collect2: error: ld returned 1 exit status
make[1]: *** [CMakeFiles/cmTC_46284.dir/build.make:87: cmTC_46284] Error 1
make[1]: Leaving directory '/home/a/opencv-4.5.5/build/CMakeFiles/CMakeTmp'
make: *** [Makefile:121: cmTC_46284/fast] Error 2

安装具体步骤:1.

sudo apt install -y g++
sudo apt install -y cmake
sudo apt install -y make

2.sudo apt-get install build-essential libgtk2.0-dev libgtk-3-dev libavcodec-dev libavformat-dev libjpeg-dev libswscale-dev libtiff5-dev

下载opencv450zip

3.mkdir build
cd build

4  sudo cmake -D CMAKE_BUILD_TYPE=Release -D OPENCV_GENERATE_PKGCONFIG=YES -D WITH_FFMPEG=ON ..

sudo cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D WITH_TBB=ON -D BUILD_SHARED_LIBS=OFF -D WITH_OPENMP=ON -D ENABLE_PRECOMPILED_HEADERS=OFF ..

5 sudo make -j8

6  sudo make install

7编译:

sudo gedit /etc/profile.d/pkgconfig.sh

=====靠 又报错======

/usr/bin/ld: cannot find -lEigen3::Eigen
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/opencv_example.dir/build.make:139: opencv_example] Error 1
make[1]: *** [CMakeFiles/Makefile2:76: CMakeFiles/opencv_example.dir/all] Error 2
make: *** [Makefile:84: all] Error 2
a@1:~/Downloads/opencv-4.5.0/samples/cpp/example_cmake$ ./opencv_example

安装

Ubuntu 下Eigen库的安装和配置 - 知乎

======装了 验证opencv 依然不对====

pass

新报错:

[ 22%] Performing download step (git clone) for 'imgui-populate'
Cloning into 'imgui'...
error: RPC failed; curl 56 GnuTLS recv error (-9): Error decoding the received TLS packet.
fatal: the remote end hung up unexpectedly

按照这个说的3D Gaussian Splatting Linux端部署指南_gaussion-splatting在linux服务器上配置环境-CSDN博客

找到这个

/gaussian-splatting/SIBR_viewers/extlibs/imgui/subbuild/CMakeLists.txt

仔细检查 不是这个。。。卒。。。。。。

-----可视化没有安装成功--之前的训练也不能用了-

---重装系统---------------------

安装NVIDA驱动时,用sudo 自带的  不要用其他的

 

Logo

有“AI”的1024 = 2048,欢迎大家加入2048 AI社区

更多推荐