Paddle could not determine kind of name for C.PD_ConfigEnableVarseqlen

kyxcudwk  于 2022-11-19  发布在  其他
关注(0)|答案(4)|浏览(96)

bug描述 Describe the Bug

我在单测时出现 could not determine kind of name for C.PD_ConfigEnableVarseqlen 的问题。

https://paddle-inference.readthedocs.io/en/latest/guides/quick_start/go_demo.html#id1

其他补充信息 Additional Supplementary Information

https://paddle-inference.readthedocs.io/en/latest/guides/quick_start/go_demo.html#id1

root@c6251668451d:/go/pkg/mod/github.com/paddlepaddle/paddle/paddle/fluid/inference/goapi@v0.0.0-20220819062145-b68f1120fcbd# bash test.sh 
# github.com/paddlepaddle/paddle/paddle/fluid/inference/goapi
./config.go:504:2: could not determine kind of name for C.PD_ConfigEnableVarseqlen
FAIL    github.com/paddlepaddle/paddle/paddle/fluid/inference/goapi [build failed]
FAIL
c90pui9n

c90pui9n1#

您好,我们已经收到了您的问题,会安排技术人员尽快解答您的问题,请耐心等待。请您再次检查是否提供了清晰的问题描述、复现代码、环境&版本、报错信息等。同时,您也可以通过查看 官网API文档常见问题历史IssueAI社区 来寻求解答。祝您生活愉快~

Hi! We've received your issue and please be patient to get responded. We will arrange technicians to answer your questions as soon as possible. Please make sure that you have posted enough message to demo your request. You may also check out the APIFAQGithub Issue and AI community to get the answer.Have a nice day!

nwlqm0z1

nwlqm0z13#

您好,看起来问题是该接口目前尽在develop可用,但库的版本是2.3,导致该问题。
https://github.com/PaddlePaddle/Paddle/blob/v2.3.2/paddle/fluid/inference/capi_exp/pd_config.h#L37

您将代码切换到2.3分支,重新测试应该就可以了

lvjbypge

lvjbypge4#

您好,看起来问题是该接口目前尽在develop可用,但库的版本是2.3,导致该问题。 https://github.com/PaddlePaddle/Paddle/blob/v2.3.2/paddle/fluid/inference/capi_exp/pd_config.h#L37

您将代码切换到2.3分支,重新测试应该就可以了

好的

相关问题