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

fix bug in inference.py #1799

Merged
merged 1 commit into from
Apr 17, 2017
Merged

fix bug in inference.py #1799

merged 1 commit into from
Apr 17, 2017

Conversation

luotao1
Copy link
Contributor

@luotao1 luotao1 commented Apr 17, 2017

retv = [[]] * len(result)使用python的[]作为引用传递,会导致:
14646bddb0decd7f159f932c35dd42c0
即其中实际上只有一个值。因此对其进行修改。

@luotao1 luotao1 requested a review from reyoung April 17, 2017 06:53
@luotao1 luotao1 merged commit c1b47b2 into PaddlePaddle:develop Apr 17, 2017
@luotao1 luotao1 deleted the infer branch April 17, 2017 07:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants