-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Hackathon 7th] 修复 asr5
的 test.sh
脚本路径错误
#3941
Conversation
Thanks for your contribution! |
@@ -44,7 +44,7 @@ for type in ctc_greedy_search; do | |||
echo "Failed in evaluation!" | |||
exit 1 | |||
fi | |||
python3 format_rsl.py \ | |||
python3 ${MAIN_ROOT}/paddlespeech/dataset/s2t/format_rsl.py \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
utils/format_rsl.py
should work for this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
试过,不行 ~ path.sh 脚本把 python 路径注释掉了
# export PYTHONPATH=${MAIN_ROOT}:${PYTHONPATH}
应该是因为把 compute_wer.py
放到了当前目录,所以就注释掉了这个路径 ~
咋整?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
path.sh 脚本没有注释掉啊
export MAIN_ROOT=`realpath ${PWD}/../../../` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see see
# export PYTHONPATH=${MAIN_ROOT}:${PYTHONPATH} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use ${MAIN_ROOT}/utils/format_rsl.py
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
搞定 ~
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
PR types
Bug fixes
PR changes
Others
Describe
修复
asr5
的test.sh
脚本路径错误@zxcd @Liyulingyue