Traceback (most recent call last):
File "/home/zhaoxy/whisper/code/SenseVoice/funasr_infer.py", line 8, in
model = AutoModel(model=model_dir,
File "/opt/conda/lib/python3.10/site-packages/funasr/auto/auto_model.py", line 124, in init
model, kwargs = self.build_model(kwargs)
File "/opt/conda/lib/python3.10/site-packages/funasr/auto/auto_model.py", line 192, in build_model
tokenizer = tokenizer_class(kwargs.get("tokenizer_conf", {}))
File "/opt/conda/lib/python3.10/site-packages/funasr/tokenizer/sentencepiece_tokenizer.py", line 23, in init
self._build_sentence_piece_processor()
File "/opt/conda/lib/python3.10/site-packages/funasr/tokenizer/sentencepiece_tokenizer.py", line 32, in _build_sentence_piece_processor
self.sp.load(self.bpemodel)
File "/opt/conda/lib/python3.10/site-packages/sentencepiece/init.py", line 905, in Load
return self.LoadFromFile(model_file)
File "/opt/conda/lib/python3.10/site-packages/sentencepiece/init.py", line 310, in LoadFromFile
return _sentencepiece.SentencePieceProcessor_LoadFromFile(self, arg)
RuntimeError: Internal: src/sentencepiece_processor.cc(1101) [model_proto->ParseFromArray(serialized.data(), serialized.size())]
Traceback (most recent call last): File "/home/zhaoxy/whisper/code/SenseVoice/funasr_infer.py", line 8, in
model = AutoModel(model=model_dir,
File "/opt/conda/lib/python3.10/site-packages/funasr/auto/auto_model.py", line 124, in init
model, kwargs = self.build_model(kwargs)
File "/opt/conda/lib/python3.10/site-packages/funasr/auto/auto_model.py", line 192, in build_model
tokenizer = tokenizer_class(kwargs.get("tokenizer_conf", {}))
File "/opt/conda/lib/python3.10/site-packages/funasr/tokenizer/sentencepiece_tokenizer.py", line 23, in init
self._build_sentence_piece_processor()
File "/opt/conda/lib/python3.10/site-packages/funasr/tokenizer/sentencepiece_tokenizer.py", line 32, in _build_sentence_piece_processor
self.sp.load(self.bpemodel)
File "/opt/conda/lib/python3.10/site-packages/sentencepiece/init.py", line 905, in Load
return self.LoadFromFile(model_file)
File "/opt/conda/lib/python3.10/site-packages/sentencepiece/init.py", line 310, in LoadFromFile
return _sentencepiece.SentencePieceProcessor_LoadFromFile(self, arg)
RuntimeError: Internal: src/sentencepiece_processor.cc(1101) [model_proto->ParseFromArray(serialized.data(), serialized.size())]