Revised Rhythm Prediction Function 6, test=tts

pull/2548/head
WongLaw 2 years ago
parent 48dd50b67b
commit d113b74bb9

@ -18,6 +18,8 @@
./run.sh --stage 3 --stop-stage 3 ./run.sh --stage 3 --stop-stage 3
``` ```
## Pretrained Model ## Pretrained Model
The pretrained model can be downloaded below, and you should put it into `exp/YOUREXP/checkpoints` folder: The pretrained model can be downloaded here:
[snapshot_iter_2600.pdz](https://paddlespeech.bj.bcebos.com/Rhy_Prediction/snapshot_iter_2600.pdz) [snapshot_iter_2600.pdz](https://paddlespeech.bj.bcebos.com/Rhy_Prediction/snapshot_iter_2600.pdz)
And you should put it into `exp/YOUREXP/checkpoints` folder.

@ -26,7 +26,8 @@ def pre_and_write(data, file):
def main(): def main():
parser = argparse.ArgumentParser(description="Train a Rhy prediction model.") parser = argparse.ArgumentParser(
description="Train a Rhy prediction model.")
parser.add_argument("--data", type=str, default="label_train-set.txt") parser.add_argument("--data", type=str, default="label_train-set.txt")
parser.add_argument( parser.add_argument(
"--processed_path", type=str, default="../data/rhy_predict") "--processed_path", type=str, default="../data/rhy_predict")

@ -24,7 +24,8 @@ def pre_and_write(data, file):
def main(): def main():
parser = argparse.ArgumentParser(description="Train a Rhy prediction model.") parser = argparse.ArgumentParser(
description="Train a Rhy prediction model.")
parser.add_argument("--data", type=str, default="label_train-set.txt") parser.add_argument("--data", type=str, default="label_train-set.txt")
parser.add_argument( parser.add_argument(
"--processed_path", type=str, default="../data/rhy_predict") "--processed_path", type=str, default="../data/rhy_predict")

Loading…
Cancel
Save