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
Traceback (most recent call last):
File "/root/work/filestorage/liujc/paddle/main.py", line 7, in <module>
model = Taskflow(
File "/usr/local/lib/python3.10/dist-packages/paddlenlp/taskflow/taskflow.py", line 809, in __init__
self.task_instance = task_class(
File "/usr/local/lib/python3.10/dist-packages/paddlenlp/taskflow/information_extraction.py", line 536, in __init__
self._get_inference_model()
File "/usr/local/lib/python3.10/dist-packages/paddlenlp/taskflow/task.py", line 372, in _get_inference_model
self._prepare_static_mode()
File "/usr/local/lib/python3.10/dist-packages/paddlenlp/taskflow/task.py", line 227, in _prepare_static_mode
self.predictor = paddle.inference.create_predictor(self._config)
RuntimeError: (Unavailable) Not allowed to load partial data via load_combine_op, please use load_op instead.
[Hint: Expected buffer->eof() == true, but received buffer->eof():0 != true:1.] (at /paddle/paddle/phi/kernels/impl/load_combine_kernel_impl.h:81)
[operator < load_combine > error]
而且保存的模型路径中,缺失了inference.pdmodel文件。
The text was updated successfully, but these errors were encountered:
请提出你的问题
我通过task_path和home_path设定均会报错
而且保存的模型路径中,缺失了inference.pdmodel文件。
The text was updated successfully, but these errors were encountered: