Skip to content

Commit

Permalink
Merge pull request #9128 from luotao1/layer_function_generator
Browse files Browse the repository at this point in the history
fix AttributeError: 'module' object has no attribute 'framework_pb2'
  • Loading branch information
luotao1 authored Mar 16, 2018
2 parents a448fbe + 8a3d764 commit 4f3b73e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions python/paddle/fluid/layers/layer_function_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,7 @@
import functools
import warnings

from .. import proto

framework_pb2 = proto.framework_pb2

from ..proto import framework_pb2
from ..framework import OpProtoHolder, Variable
from ..layer_helper import LayerHelper

Expand Down

1 comment on commit 4f3b73e

@QiaoShin
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No module named 'framework_pb2' with latest commit when I use pyinstaller

Please sign in to comment.