embodiedgen/install.sh
Xinjie e82f02a9a5
feat(pipe): Release 3D scene generation pipeline. (#25)
Release 3D scene generation pipeline and tag as v0.1.2.

---------

Co-authored-by: xinjie.wang <xinjie.wang@gpu-4090-dev015.hogpu.cc>
2025-07-21 23:31:15 +08:00

29 lines
850 B
Bash

#!/bin/bash
set -e
STAGE=$1 # "basic" | "extra" | "all"
STAGE=${STAGE:-all}
SCRIPT_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
source "$SCRIPT_DIR/install/_utils.sh"
git config --global http.postBuffer 524288000
# Patch submodule .gitignore to ignore __pycache__, only if submodule exists
PANO2ROOM_PATH="$SCRIPT_DIR/thirdparty/pano2room"
if [ -d "$PANO2ROOM_PATH" ]; then
echo "__pycache__/" > "$PANO2ROOM_PATH/.gitignore"
log_info "Added .gitignore to ignore __pycache__ in $PANO2ROOM_PATH"
fi
log_info "===== Starting installation stage: $STAGE ====="
if [[ "$STAGE" == "basic" || "$STAGE" == "all" ]]; then
bash "$SCRIPT_DIR/install/install_basic.sh"
fi
if [[ "$STAGE" == "extra" || "$STAGE" == "all" ]]; then
bash "$SCRIPT_DIR/install/install_extra.sh"
fi
log_info "===== Installation completed successfully. ====="