File size: 1,020 Bytes
b14067d fd926cd b14067d |
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 34 35 36 37 38 39 |
trap 'kill 0' SIGINT
target_pose="0 30 -0.6 0 0"
target_pose_str="0_30_-0.6_0_0"
traj_name="loop1"
traj_txt="test/trajs/${traj_name}.txt"
video="/app/data/test_v2v/videos/amalfi-coast_traj_loop2.mp4"
processed_data_name=$1
# filename=$(basename "$video" .mp4)
filename="amalfi-coast"
CUDA_VISIBLE_DEVICES=0 python inference.py \
--video_path "$video" \
--stride 1 \
--out_dir experiments \
--radius_scale 1 \
--camera 'traj' \
--mask \
--target_pose $target_pose \
--traj_txt "$traj_txt" \
--save_name "${filename}_traj_${traj_name}" \
--mode "gradual" \
--out_dir ../../data/${processed_data_name}
CUDA_VISIBLE_DEVICES=0 python inference.py \
--video_path "$video" \
--stride 1 \
--out_dir experiments \
--radius_scale 1 \
--camera 'target' \
--mask \
--target_pose $target_pose \
--traj_txt "$traj_txt" \
--save_name "${filename}_target_${target_pose_str}" \
--mode "gradual" \
--out_dir ../../data/${processed_data_name}
|