-
Notifications
You must be signed in to change notification settings - Fork 51
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
Tests for speechbrain tutorial #1007
base: develop
Are you sure you want to change the base?
Conversation
output = data / "results" | ||
|
||
"""Calling the script, for downloading the data""" | ||
script = os.path.abspath("examples/speechbrain_tutorial/download_data.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.
This would be more robust if it would start from this modules directory and get the relative path. Otherwise this test only works if we executed it from repo's root.
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.
Not sure I understand what do you mean here. Were you thinking something like str(os.path.dirname(os.path.abspath(__file__))) + "/../../speechbrain_tutorial/main.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.
Exact!
573dd68
to
69f0d90
Compare
The pre-trained model is too large for github-actions' runner. We would need to have a local hosted runner for this. We'll take a look at this and then revisit this PR. |
Description
Basic tests for the SpeechBrain model example we are adding to the doc,.
Changes
Adding of some tests, as well as a download_data.py script.
Tests
$ tox -e py38
; replace38
by your Python version if necessary)Documentation
Quality
$ tox -e lint
)