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 #5240

Closed
lvpchen opened this issue Oct 31, 2017 · 7 comments
Closed

AttributeError Topology #5240

lvpchen opened this issue Oct 31, 2017 · 7 comments
Labels
User 用于标记用户问题

Comments

@lvpchen
Copy link

lvpchen commented Oct 31, 2017

Run classification demo:
AttributeError: Topology object has no attribute 'serialize_for_inference'

@ranqiu92 ranqiu92 added the User 用于标记用户问题 label Oct 31, 2017
@ranqiu92
Copy link
Contributor

I this it may be the Paddle version problem. The serialize_for_inference is added on Seq 11, 2017.
Can you provide and check the version information or git log of the Paddle you have installed?

@lvpchen
Copy link
Author

lvpchen commented Nov 2, 2017

My paddle version is 0.10.0.

@ranqiu92
Copy link
Contributor

ranqiu92 commented Nov 2, 2017

Oh, sorry. The git log of your paddle is also needed, and i want the last commit id.
You can refer to #4306

@lcy-seso
Copy link
Contributor

lcy-seso commented Nov 2, 2017

serialize_for_inference is introduced by this PR #4023 . I guess the problem can be solved by updating PaddlePaddle.

@lvpchen
Copy link
Author

lvpchen commented Nov 2, 2017

I use command line:git log
commit cdd1da3

And I also use "git pull" to update code, this problem is also exist.

@ranqiu92
Copy link
Contributor

ranqiu92 commented Nov 2, 2017

Is this commit id related to the Paddle you updated today?
And have you used command-line "pip uninstall paddlepaddle" to uninstall the older Paddle before installing the newer one?

@peterzhang2029
Copy link
Contributor

Closing due to low activity. Feel free to reopen it.

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

4 participants