Skip to content

ASR模型测试遇到这个问题:assert 'augmentation_config' in config #2350

@Tian14267

Description

@Tian14267

测试模型:PaddleSpeech/examples/aishell/asr0/里面的模型,测试报错:

File "/ultra/fffan/0_TTS/temp/PaddleSpeech/PaddleSpeech_asr/paddlespeech/s2t/io/collator.py", line 230, in from_config
    assert 'augmentation_config' in config
AssertionError

查看代码发现,代码里有这几行:

assert 'augmentation_config' in config
assert 'keep_transcription_text' in config
assert 'mean_std_filepath' in config
assert 'vocab_filepath' in config
assert 'spectrum_type' in config
assert 'n_fft' in config

这些配置在模型配置中并没有。请问这是啥情况

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions