Download misc/iter_fix.sh from AIGeeksGroup/PhysicalWM: direct link, hf CLI and curl.
- Browser
- Download file 916 Bytes
-
https://huggingface.co/datasets/AIGeeksGroup/PhysicalWM/resolve/main/misc/iter_fix.sh
- Command line
-
hf download hf://datasets/AIGeeksGroup/PhysicalWM/misc/iter_fix.sh
-
curl -L -o iter_fix.sh https://huggingface.co/datasets/AIGeeksGroup/PhysicalWM/resolve/main/misc/iter_fix.sh
916 Bytes
| # 缺啥补啥循环:反复跑 step6,直到不再报 ModuleNotFoundError | |
| source ~/miniconda3/etc/profile.d/conda.sh | |
| conda activate ovow-opg | |
| cd ~/jiayin/OVOW | |
| export PATH=$HOME/miniconda3/envs/ovow-opg/bin:$PATH QWEN_BACKEND=local | |
| for i in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15; do | |
| bash scripts/run_image.sh --image examples/images/desk_banana.png --out outputs --qwen-model $HOME/jiayin/OVOW/model/Qwen3-VL-8B-Instruct 1 2 6 7 14 17 18 > ~/jiayin/iter_run.log 2>&1 | |
| if grep -q 'pipeline_status=success\|smoke.*OK\|完成.*断言' ~/jiayin/iter_run.log; then echo ITER_SUCCESS; break; fi | |
| mod=$(grep -oE "No module named '[a-zA-Z0-9_.]+'" ~/jiayin/iter_run.log | head -1 | sed "s/.*named '//;s/'//") | |
| if [[ -z $mod ]]; then echo ITER_STOP_NO_MODULE; tail -20 ~/jiayin/iter_run.log; break; fi | |
| echo "ITER_$i installing $mod" | |
| pip install -q "${mod%%.*}" 2>&1 | tail -1 | |
| done | |
| echo ITER_LOOP_DONE | |