datariengcuathuongbui / code /inc_encode.sh
ThuongBuiRVC's picture
Add files using upload-large-folder tool
cfa2024 verified
Raw History Blame Contribute Delete
777 Bytes
#!/bin/bash
# db: encode supplement keyframes while vlr_hub_fetch.py is still running (records are rebuilt each round; a keyframe
# enters only when all 58 images of its 8-camera window are on disk; latents are resumable). Stops when the fetch ends;
# chain_data.sh then does the final pass.
cd /home/db/ThuongBui/localization/vlr
PY=/home/db/miniforge3/envs/locnet/bin/python
NUR=/mnt/10TB_HDD/nuReasoning
while pgrep -f "gen_vqa.py --data-root $NUR/data_supplement" > /dev/null; do sleep 30; done
while pgrep -f "python vlr_hub_fetch.py --kind supp" > /dev/null; do
$PY vlr_build_hub.py --kind supp --root $NUR/data_supplement_20261022 --vqa $NUR/vqa_output_supp_vlr
$PY vlr_encode_local.py --splits train_supp >> encode_inc.log 2>&1
sleep 300
done
echo INC_DONE