Skip to content

Commit

Permalink
Update start_test.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
simplify23 committed Oct 28, 2021
1 parent 267c9f4 commit 9208805
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions start_test.sh
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
for i in `seq 510 10 600`, ; do
# for i in `seq 510 10 600`, ; do

echo "checkpoint "$i": "
# echo "checkpoint "$i": "

python3.7 test.py config/pan/pan_r18_ctw_train.py checkpoints/pan_r18_ctw_train/"checkpoint_"$i"ep.pdparams"
# python3.7 test.py config/pan/pan_r18_ctw_train.py checkpoints/pan_r18_ctw_train/"checkpoint_570ep.pdparams"

rm -f outputs/submit_ctw/results/.ipynb_checkpoints
# rm -f outputs/submit_ctw/results/.ipynb_checkpoints

cd eval/ctw && python eval.py && cd ../..
# cd eval/ctw && python eval.py && cd ../..

done
# done

echo "checkpoint final :"

python3.7 test.py config/pan/pan_r18_ctw_train.py checkpoints/pan_r18_ctw_train/checkpoint.pdparams
python3.7 test.py config/pan/pan_r18_ctw_train.py checkpoints/pan_r18_ctw_train/checkpoint_570ep.pdparams

rm -f outputs/submit_ctw/results/.ipynb_checkpoints

Expand Down

0 comments on commit 9208805

Please sign in to comment.