-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make use of installation scripts in 'tools/intstall'
Based on a feedback on PR#4885. Instead of letting users find out how to install the required modules by themselves, let's automate those steps. Signed-off-by: Fujimoto Seiji <fujimoto@clear-code.com>
- Loading branch information
Fujimoto Seiji
committed
Jan 30, 2023
1 parent
ba4cd3a
commit 76c6f37
Showing
4 changed files
with
16 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,13 @@ | ||
if ! python3 -c 'import datasets' > /dev/null; then | ||
echo "ERR: Module 'datasets' is not installed." >&2 | ||
echo "ERR: See 'https://huggingface.co/docs/datasets/quickstart'" >&2 | ||
echo "Error: it seems that datasets is not installed." >&2 | ||
echo "Error: please install datasets as follows." >&2 | ||
echo "Error: cd ${MAIN_ROOT}/tools/installers && ./install_datasets.sh" >&2 | ||
return 1 | ||
fi | ||
|
||
if ! python3 -c 'import reazonspeech' > /dev/null; then | ||
echo "ERR: Module 'reazonspeech' is not installed." >&2 | ||
echo "ERR: See 'https://github.com/reazon-research/ReazonSpeech'" >&2 | ||
echo "Error: it seems that reazonspeech is not installed." >&2 | ||
echo "Error: please install reazonspeech as follows." >&2 | ||
echo "Error: cd ${MAIN_ROOT}/tools/installers && ./install_reazonspeech.sh" >&2 | ||
return 1 | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/usr/bin/env bash | ||
set -euo pipefail | ||
|
||
if [ $# != 0 ]; then | ||
echo "Usage: $0" | ||
exit 1; | ||
fi | ||
|
||
python3 -m pip install git+https://github.com/reazon-research/ReazonSpeech |