Closed Tian14267 closed 2 years ago
麻烦check下config对象内容是否符合预期。
已经检查过了,release的模型中config确实缺失这些参数。代码里面同样也缺失。这个地方麻烦检查一下。另外,paddlespeech/s2t/io/collator.py
中
self.augmentation = AugmentationPipeline(
preprocess_conf=aug_file.read(), random_seed=random_seed)
也有报错。这里的参数无法转换成json。
@zh794390558
是哪个 release的model?你用的是哪个版本的 paddlespeech?
develop里的配置是正常的, https://github.com/PaddlePaddle/PaddleSpeech/tree/develop/examples/aishell/asr0/conf
是哪个 release的model?你用的是哪个版本的 paddlespeech?
模型:asr0_deepspeech2_offline_aishell_ckpt_1.0.1.model 代码:https://github.com/PaddlePaddle/PaddleSpeech/blob/develop/examples/aishell/asr0/conf/deepspeech2.yaml (模型中的config也一样的bug)
好的,我们看下。
self.augmentation = AugmentationPipeline( preprocess_conf=aug_file.read(), random_seed=random_seed)
大神你好,请问下这个问题现在有解决吗?我也尝试修改,发现“augmentation_config”这个数据读取之后,在进行json.loads()的时候无法成功,我是把“preprocess_config”这个数据给的“augmentation_config”,请问这样是对的吗
测试模型:PaddleSpeech/examples/aishell/asr0/里面的模型,测试报错:
查看代码发现,代码里有这几行:
这些配置在模型配置中并没有。请问这是啥情况