-
Notifications
You must be signed in to change notification settings - Fork 4
/
Template_BashForJobSubmission_t8_lm-cv.sh
28 lines (21 loc) · 1.39 KB
/
Template_BashForJobSubmission_t8_lm-cv.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
#!/usr/bin/env zsh
echo "*********************************************"
echo "loading done"
echo "*********************************************"
target_dir='../Images_Data/CV_10_Folding/Fold_1/temp_train_lm/'
input_dir='../Images_Data/CV_10_Folding/Fold_1/temp_train_png/'
checkpoint='../Images_Data/CV_10_Folding/Fold_1/Models/Models_flat/Models_lm_5/'
output_dir='../Images_Data/CV_10_Folding/Fold_1/Models/Models_flat/Models_lm_5/'
landmarks='2,12,31,41,41'
python3 Pr_LandMarkDetection_FlatArc+HeatMap.py --mode 'train' --input_dir $input_dir --target_dir $target_dir --checkpoint $checkpoint --output_dir $output_dir --landmarks $landmarks
target_dir='../Images_Data/CV_10_Folding/Fold_1/temp_test_lm/'
input_dir='../Images_Data/CV_10_Folding/Fold_1/temp_test_png/'
checkpoint='../Images_Data/CV_10_Folding/Fold_1/Models/Models_flat/Models_lm_5/'
output_dir='../Images_Data/CV_10_Folding/Fold_1/Results/Models_flat/Models_lm_5/'
landmarks='2,12,31,41,41'
python3 Pr_LandMarkDetection_FlatArc+HeatMap.py --mode 'test' --input_dir $input_dir --target_dir $target_dir --checkpoint $checkpoint --output_dir $output_dir --landmarks $landmarks
echo "*********************************************"
echo "python job done"
### rm -rf ../Images_Data/CV_10_Folding/Fold_1/Models_flat/Models_lm_4/
echo "model removed"
echo "*********************************************"