yeyupiaoling / MASR

Pytorch实现的流式与非流式的自动语音识别框架,同时兼容在线和离线识别,目前支持Conformer、Squeezeformer、DeepSpeech2模型,支持多种数据增强方法。
Apache License 2.0
563 stars 100 forks source link

缺失vocabulary文件 #61

Closed DrewdropLife closed 1 year ago

DrewdropLife commented 1 year ago

Traceback (most recent call last): File "/dm/infer_path.py", line 24, in predictor = MASRPredictor(configs=args.configs, File "/dm/masr/predict.py", line 67, in init self._text_featurizer = TextFeaturizer(vocab_filepath=self.configs.dataset_conf.dataset_vocab) File "/dm/masr/data_utils/featurizer/text_featurizer.py", line 10, in init self._vocab_dict, self._vocab_list = self._load_vocabulary_from_file(vocab_filepath) File "/dm/masr/data_utils/featurizer/text_featurizer.py", line 55, in _load_vocabulary_from_file with open(vocab_filepath, 'r', encoding='utf-8') as file: FileNotFoundError: [Errno 2] No such file or directory: 'dataset/vocabulary.txt'