forked from isl-org/PhotorealismEnhancement
-
Notifications
You must be signed in to change notification settings - Fork 0
/
run.sh
executable file
·14 lines (11 loc) · 1.38 KB
/
run.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
touch /home/kacper/progress
python epe/matching/feature_based/collect_crops.py sim /home/kacper/data/datasets/urban-driving/sim_files.csv --out_dir /home/kacper/code/EPE/datasets/urban-driving --data_root /home/kacper/data/datasets/urban-driving/
echo "sim crops collected" >> /home/kacper/progress
python epe/matching/feature_based/collect_crops.py real /home/kacper/data/datasets/urban-driving/real_files.csv --out_dir /home/kacper/code/EPE/datasets/urban-driving --data_root /home/kacper/data/datasets/urban-driving/
echo "real crops collected" >> /home/kacper/progress
python epe/matching/feature_based/find_knn.py /home/kacper/code/EPE/datasets/urban-driving/crop_sim.npz /home/kacper/code/EPE/datasets/urban-driving/crop_real.npz /home/kacper/code/EPE/datasets/urban-driving/knn_sim-real.npz -k 10
echo "knn done" >> /home/kacper/progress
python epe/matching/filter.py /home/kacper/code/EPE/datasets/urban-driving/knn_sim-real.npz /home/kacper/code/EPE/datasets/urban-driving/crop_sim.csv /home/kacper/code/EPE/datasets/urban-driving/crop_real.csv 1.0 /home/kacper/code/EPE/datasets/urban-driving/matched_crops_sim-real.csv
echo "filter done" >> /home/kacper/progress
python epe/matching/compute_weights.py /home/kacper/code/EPE/datasets/urban-driving/matched_crops_sim-real.csv 456 960 /home/kacper/code/EPE/datasets/urban-driving/crop_weights_sim-real.npz
echo "weights coimputed" >> /home/kacper/progress