Spaces:
Running
on
Zero
Running
on
Zero
File size: 615 Bytes
f499d3b |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
# merge texture
require_suffix="obj,fbx,FBX,dae,glb,gltf,vrm"
source=""
target=""
output=""
while [[ "$#" -gt 0 ]]; do
case $1 in
--require_suffix) require_suffix="$2"; shift ;;
--source) source="$2"; shift ;;
--target) target="$2"; shift ;;
--output) output="$2"; shift ;;
*) echo "Unknown parameter: $1"; exit 1 ;;
esac
shift
done
cmd=" \
python -m src.inference.merge \
--require_suffix=$require_suffix \
--num_runs=1 \
--id=0 \
--source=$source \
--target=$target \
--output=$output \
"
cmd="$cmd &"
eval $cmd
wait
echo "done" |