-
Notifications
You must be signed in to change notification settings - Fork 1
/
run_batch.sh
17 lines (14 loc) · 922 Bytes
/
run_batch.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash
cd /workspace/anonymizer
list=("handheld/room00/room00" "mini_hercules/campus00/campus00" "mini_hercules/parking00/parking00" "quadrupedal_robot/grass01/grass01" "quadrupedal_robot/room00/room00")
for sequence_name in "${list[@]}"
do
echo "Processing $sequence_name"
input="/workspace/anonymizer/data/${sequence_name}.bag"
output="/workspace/anonymizer/data/${sequence_name}_anonymized.bag"
echo "Input: $input"
echo "Output: $output"
python anonymizer/bin/anonymize_bag.py --input $input --output $output --weights weights
echo "Done processing $sequence_name"
done
python anonymizer/bin/anonymize_bag.py --input data/mini_hercules/20230614_1739_building_pedestrain_wo_encoder/20230614_1739_building_pedestrain_wo_encoder.bag --output data/mini_hercules/20230614_1739_building_pedestrain_wo_encoder/20230614_1739_building_pedestrain_wo_encoder_anonymized.bag --weights weights/