mirror of
https://github.com/graphdeco-inria/gaussian-splatting
synced 2024-11-26 13:49:40 +00:00
19 lines
326 B
Bash
Executable File
19 lines
326 B
Bash
Executable File
#!/bin/bash
|
|
|
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
cd "$DIR"
|
|
|
|
|
|
cd ..
|
|
|
|
mkdir -p $1-data/input
|
|
mkdir -p $1-data/output
|
|
|
|
ffmpeg -i $1 -qscale:v 1 -qmin 1 -vf fps={fps} $1-data/input/%04d.jpg
|
|
|
|
|
|
python3.10 convert.py -s $1-data/ --no_gpu
|
|
python3.10 train.py -s $1-data/ -r 1 --model_path=$1-data/output/
|
|
|
|
exit 0
|