Skip to content
New issue

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

AttributeError: 'Topology' object has no attribute 'serialize_for_inference' #4306

Closed
333caowei opened this issue Sep 21, 2017 · 3 comments
Closed
Labels
User 用于标记用户问题

Comments

@333caowei
Copy link

333caowei commented Sep 21, 2017

paddle v2版本,运行book中的06 sentiment分类demo,报错:

Traceback (most recent call last):
  File "train.py", line 154, in <module>
    inference_topology.serialize_for_inference(f)
AttributeError: 'Topology' object has no attribute 'serialize_for_inference'
@lcy-seso lcy-seso added the User 用于标记用户问题 label Sep 21, 2017
@luotao1
Copy link
Contributor

luotao1 commented Sep 21, 2017

@Canpio Can you help to answer this issue? Since the related codes were added by your commit PaddlePaddle/book@ce9bf2f

@guoshengCS
Copy link
Contributor

guoshengCS commented Sep 21, 2017

serialize_for_inference是在这个#4023 PR里新加的,更新下Paddle试试

@JiayiFeng
Copy link
Collaborator

serialize_for_inference is added about one week ago. Please update Paddle to the latest version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
User 用于标记用户问题
Projects
None yet
Development

No branches or pull requests

5 participants