You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
使用命令 python main.py --port 8010启动时
报错:
[2025-04-23 09:51:39,820] [ INFO] - The inference model save in the path:source/model\static\inference
Traceback (most recent call last):
File "main.py", line 65, in
chatbot = Robot(
File "D:\work_xl\yuyin_asr\PaddleSpeech-r1.5\PaddleSpeech-r1.5\demos\speech_web\speech_server\src\robot.py", line 17, in init
self.nlp = NLP(ie_model_path=ie_model_path)
File "D:\work_xl\yuyin_asr\PaddleSpeech-r1.5\PaddleSpeech-r1.5\demos\speech_web\speech_server\src\SpeechBase\nlp.py", line 8, in init
self.ie_model = Taskflow(
File "C:\Users\xl\AppData\Local\Programs\Python\Python38\lib\site-packages\paddlenlp\taskflow\taskflow.py", line 804, in init
self.task_instance = task_class(
File "C:\Users\xl\AppData\Local\Programs\Python\Python38\lib\site-packages\paddlenlp\taskflow\information_extraction.py", line 536, in init
self._get_inference_model()
File "C:\Users\xl\AppData\Local\Programs\Python\Python38\lib\site-packages\paddlenlp\taskflow\task.py", line 371, in _get_inference_model
self._config = paddle.inference.Config(self.static_model_file, self.static_params_file)
RuntimeError: (NotFound) Cannot open file source/model\static\inference.pdmodel, please confirm whether the file is normal.
[Hint: Expected paddle::inference::IsFileExists(prog_file) == true, but received paddle::inference::IsFileExists(prog_file):0 != true:1.] (at ..\paddle\fluid\inference\api\analysis_config.cc:117)
The text was updated successfully, but these errors were encountered:
使用命令 python main.py --port 8010启动时
报错:
[2025-04-23 09:51:39,820] [ INFO] - The inference model save in the path:source/model\static\inference
Traceback (most recent call last):
File "main.py", line 65, in
chatbot = Robot(
File "D:\work_xl\yuyin_asr\PaddleSpeech-r1.5\PaddleSpeech-r1.5\demos\speech_web\speech_server\src\robot.py", line 17, in init
self.nlp = NLP(ie_model_path=ie_model_path)
File "D:\work_xl\yuyin_asr\PaddleSpeech-r1.5\PaddleSpeech-r1.5\demos\speech_web\speech_server\src\SpeechBase\nlp.py", line 8, in init
self.ie_model = Taskflow(
File "C:\Users\xl\AppData\Local\Programs\Python\Python38\lib\site-packages\paddlenlp\taskflow\taskflow.py", line 804, in init
self.task_instance = task_class(
File "C:\Users\xl\AppData\Local\Programs\Python\Python38\lib\site-packages\paddlenlp\taskflow\information_extraction.py", line 536, in init
self._get_inference_model()
File "C:\Users\xl\AppData\Local\Programs\Python\Python38\lib\site-packages\paddlenlp\taskflow\task.py", line 371, in _get_inference_model
self._config = paddle.inference.Config(self.static_model_file, self.static_params_file)
RuntimeError: (NotFound) Cannot open file source/model\static\inference.pdmodel, please confirm whether the file is normal.
[Hint: Expected paddle::inference::IsFileExists(prog_file) == true, but received paddle::inference::IsFileExists(prog_file):0 != true:1.] (at ..\paddle\fluid\inference\api\analysis_config.cc:117)
The text was updated successfully, but these errors were encountered: