Skip to content

Commit

Permalink
add script path
Browse files Browse the repository at this point in the history
Signed-off-by: Jinzhe Zeng <[email protected]>
  • Loading branch information
njzjz committed Nov 12, 2024
1 parent 86d1b7a commit 93cc440
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions source/tests/infer/convert-models.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,7 @@

set -ev

dp convert-backend deeppot_sea.yaml deeppot_sea.savedmodel
dp convert-backend deeppot_dpa.yaml deeppot_dpa.savedmodel
SCRIPT_PATH=$(dirname $(realpath -s $0))

dp convert-backend ${SCRIPT_PATH}/deeppot_sea.yaml ${SCRIPT_PATH}/deeppot_sea.savedmodel
dp convert-backend ${SCRIPT_PATH}/deeppot_dpa.yaml ${SCRIPT_PATH}/deeppot_dpa.savedmodel

0 comments on commit 93cc440

Please sign in to comment.