We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
环境:win11/1080ti paddle版本:3.0-beta paddlenlp版本: 3.0.0-beta0 cuda 版本11.8 cudnn:cudnn-windows-x86_64-8.9.7.29_cuda11-archive 根据官网示例: `from pprint import pprint
import paddlenlp from paddlenlp import Taskflow print("PaddleNLP version:", paddlenlp.version) schema = ['时间', '选手', '赛事名称'] ie = Taskflow('information_extraction', schema=schema, model='uie-base') pprint(ie("2月8日上午北京冬奥会自由式滑雪女子大跳台决赛中中国选手谷爱凌以188.25分获得金牌!"))`
系统自动下载了相关模型,但运行起来后报错,内容如下: ` self._config = paddle.inference.Config(self.static_model_file, self.static_params_file) RuntimeError: (NotFound) Cannot open file D:\paddle_model\paddlenlp\taskflow\information_extraction\uie-base\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:111)
`
经检查没有找到inference.pdmodel这个文件,全网搜寻资料也没能找到答案,目前这个测试代码无法运行
The text was updated successfully, but these errors were encountered:
cuda 版本11.8 cudnn:cudnn-windows-x86_64-8.9.7.29_cuda11-archive
Sorry, something went wrong.
KB-Ding
No branches or pull requests
请提出你的问题
环境:win11/1080ti
paddle版本:3.0-beta
paddlenlp版本: 3.0.0-beta0
cuda 版本11.8 cudnn:cudnn-windows-x86_64-8.9.7.29_cuda11-archive
根据官网示例:
`from pprint import pprint
import paddlenlp
from paddlenlp import Taskflow
print("PaddleNLP version:", paddlenlp.version)
schema = ['时间', '选手', '赛事名称']
ie = Taskflow('information_extraction', schema=schema, model='uie-base')
pprint(ie("2月8日上午北京冬奥会自由式滑雪女子大跳台决赛中中国选手谷爱凌以188.25分获得金牌!"))`
系统自动下载了相关模型,但运行起来后报错,内容如下:
`
self._config = paddle.inference.Config(self.static_model_file, self.static_params_file)
RuntimeError: (NotFound) Cannot open file D:\paddle_model\paddlenlp\taskflow\information_extraction\uie-base\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:111)
`
经检查没有找到inference.pdmodel这个文件,全网搜寻资料也没能找到答案,目前这个测试代码无法运行
The text was updated successfully, but these errors were encountered: