-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathevaluate_pretrained.sh
29 lines (24 loc) · 1.02 KB
/
evaluate_pretrained.sh
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
#!/bin/bash
# !! Updata the path to the datasets with your own local path !!
root_path_fastec_test_data=/home/peidong/Desktop/Fastec_dataset/test
root_path_real_test_data=/home/peidong/Desktop/Real_dataset/test
# create an empty folder for experimental results
mkdir -p experiments/results_full_fastec
mkdir -p experiments/results_full_real
# invoke python scripts for deblurring
cd self_deblur_net
python inference.py \
--save_images \
--compute_metrics \
--dataset_root_dir=$root_path_fastec_test_data \
--model_label='Fastec_pretrained' \
--log_dir=../experiments/pretrained_models \
--results_dir=../experiments/results_full_fastec
python inference.py \
--save_images \
--dataset_root_dir=$root_path_real_test_data \
--model_label='Real_pretrained' \
--log_dir=../experiments/pretrained_models \
--results_dir=../experiments/results_full_real \
--crop_sz_H=448 \
--crop_sz_W=704