Skip to content

Commit 195da75

Browse files
committed
update gh action test
1 parent 91243fb commit 195da75

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

documentation/train_readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ e.g.:\
2424
│ └─<pre-trained models>
2525
├─train
2626
├─tta
27-
└─utils
27+
└─library
2828
```
2929

3030
Set the necessary parameters, and then run the script:

tests/test_tta_module.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,23 +66,23 @@ n_epochs=5
6666
echo "Number of epochs: "$n_epochs""
6767

6868
echo "[DEBUG]: testing tta without a proxy and no preprocessing:"
69-
tta_command1=`cat ./documentation/tta_readme.md | grep 'ds_path $path_to_images --out_path $path_to_output --pretrained $path_to_pretrained_model --prep_mode 4'`
69+
tta_command1=`cat ./documentation/tta_readme.md | grep '--image_path $path_to_images --output_path $path_to_output --pretrained $path_to_pretrained_model --prep_mode 4'`
7070
echo $tta_command1
7171
eval $tta_command1
7272

7373
echo "[DEBUG]: testing tta without a proxy and including preprocessing:"
74-
tta_command2=`cat ./documentation/tta_readme.md | grep 'ds_path $path_to_images --out_path $path_to_output --ps_path $path_to_preprocessed_images --pretrained $path_to_pretrained_model --prep_mode 1'`
74+
tta_command2=`cat ./documentation/tta_readme.md | grep '--image_path $path_to_images --output_path $path_to_output --preprocessed_path $path_to_preprocessed_images --pretrained $path_to_pretrained_model --prep_mode 1'`
7575
echo $tta_command2
7676
eval $tta_command2
7777

7878

7979
echo "[DEBUG]: testing tta with a proxy and no preprocessing:"
80-
tta_command3=`cat ./documentation/tta_readme.md | grep 'ds_path $path_to_images --px_path $path_to_proxy_labels --out_path $path_to_output --pretrained $path_to_pretrained_model --prep_mode 4'`
80+
tta_command3=`cat ./documentation/tta_readme.md | grep '--image_path $path_to_images --proxy_path $path_to_proxy_labels --output_path $path_to_output --pretrained $path_to_pretrained_model --prep_mode 4'`
8181
echo $tta_command3
8282
eval $tta_command3
8383

8484
echo "[DEBUG]: testing tta with a proxy and including preprocessing:"
85-
tta_command4=`cat ./documentation/tta_readme.md | grep 'ds_path $path_to_images --px_path $path_to_proxy_labels --out_path $path_to_output --ps_path $path_to_preprocessed_images --pretrained $path_to_pretrained_model --prep_mode 1'`
85+
tta_command4=`cat ./documentation/tta_readme.md | grep '--image_path $path_to_images --proxy_path $path_to_proxy_labels --output_path $path_to_output --preprocessed_path $path_to_preprocessed_images --pretrained $path_to_pretrained_model --prep_mode 1'`
8686
echo $tta_command4
8787
eval $tta_command4
8888

0 commit comments

Comments
 (0)