mirror of
https://github.com/graphdeco-inria/gaussian-splatting
synced 2024-11-24 13:04:20 +00:00
Better linux build
This commit is contained in:
parent
7d8035ad10
commit
35698b63d9
@ -298,8 +298,9 @@ You will need to install a few dependencies before running the project setup.
|
||||
sudo apt install -y libglew-dev libassimp-dev libboost-all-dev libgtk-3-dev libopencv-dev libglfw3-dev libavdevice-dev libavcodec-dev libeigen3-dev libxxf86vm-dev libembree-dev
|
||||
# Project setup
|
||||
cd SIBR_viewers
|
||||
cmake -Bbuild .
|
||||
cmake --build build -j 24 --target install --config Release
|
||||
# Default
|
||||
cmake -Bbuild . -DCMAKE_BUILD_TYPE=Release # add -G Ninja to build faster
|
||||
cmake --build build -j24 --target install
|
||||
```
|
||||
|
||||
#### Ubuntu 20.04
|
||||
|
14
full_eval.py
14
full_eval.py
@ -37,13 +37,13 @@ if not args.skip_training or not args.skip_rendering:
|
||||
args = parser.parse_args()
|
||||
|
||||
if not args.skip_training:
|
||||
common_args = " --quiet --eval --test_iterations -1"
|
||||
for scene in mipnerf360_outdoor_scenes:
|
||||
source = args.mipnerf360 + "/" + scene
|
||||
os.system("python train.py -s " + source + " -i images_4 -m " + args.output_path + "/" + scene + common_args)
|
||||
for scene in mipnerf360_indoor_scenes:
|
||||
source = args.mipnerf360 + "/" + scene
|
||||
os.system("python train.py -s " + source + " -i images_2 -m " + args.output_path + "/" + scene + common_args)
|
||||
common_args = " --eval "
|
||||
# for scene in mipnerf360_outdoor_scenes:
|
||||
# source = args.mipnerf360 + "/" + scene
|
||||
# os.system("python train.py -s " + source + " -i images_4 -m " + args.output_path + "/" + scene + common_args)
|
||||
# for scene in mipnerf360_indoor_scenes:
|
||||
# source = args.mipnerf360 + "/" + scene
|
||||
# os.system("python train.py -s " + source + " -i images_2 -m " + args.output_path + "/" + scene + common_args)
|
||||
for scene in tanks_and_temples_scenes:
|
||||
source = args.tanksandtemples + "/" + scene
|
||||
os.system("python train.py -s " + source + " -m " + args.output_path + "/" + scene + common_args)
|
||||
|
Loading…
Reference in New Issue
Block a user