Skip to content

Commit

Permalink
udpate load map function
Browse files Browse the repository at this point in the history
  • Loading branch information
wu.zheng committed Mar 16, 2018
1 parent 85c399a commit 1344c5a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion fool/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def load_map(path):


def load_graph(path):
with tf.gfile.GFile(path, "rb") as f:
with tf.gfile.GFile(path) as f:
graph_def = tf.GraphDef()
graph_def.ParseFromString(f.read())
with tf.Graph().as_default() as graph:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from distutils.core import setup

setup(name = 'foolnltk',
version = '0.1.4',
version = '0.1.5',
description = 'Fool Nature Language toolkit ',
author = 'wu.zheng',
author_email = '[email protected]',
Expand Down

0 comments on commit 1344c5a

Please sign in to comment.