LiveWorld / LiveWorld-Code /create_infer_sample_local.sh
cszhilu1998's picture
Upload folder using huggingface_hub
5024339 verified
Raw History Blame Contribute Delete
917 Bytes
#!/usr/bin/env bash
set -euo pipefail
cd "$(dirname "$0")"
export CUDA_VISIBLE_DEVICES="${LIVEWORLD_GPU:-2}"
export OMP_NUM_THREADS="${OMP_NUM_THREADS:-8}"
exec /home/zhangzhilu/anaconda3/envs/th2.9/bin/python -u scripts/create_infer_sample/assemble_event_bench.py \
--images-dir "${1:-examples/inference_sample/raw}" \
--output-root "${2:-local_samples}" \
--qwen-model-path /home/zhangzhilu/anaconda3/pretrained_models/Qwen3-VL-8B-Instruct \
--sam3-model-path /home/zhangzhilu/anaconda3/pretrained_models/sam3/sam3.pt \
--stream3r-model-path /home/zhangzhilu/anaconda3/pretrained_models/STream3R \
--system-config-path configs/infer_system_config_local_14B.yaml \
--scene-estimator stream3r --device cuda:0 \
--target-height 480 --target-width 832 \
--source-frames-per-round 65 --target-frames-per-iter 65 \
--max-storyline-steps 4 --trajectory-case-types case1,case2 \
--scene-voxel-size 0.01 --resume