Skip to content

Commit 0cd1dfd

Browse files
author
Philip Derbyshire
committed
rollback unrelated additional change
1 parent 2be9df6 commit 0cd1dfd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/ImageClassifierService/app/predict.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
def initialize():
2626
print('Loading model...',end=''),
27-
with tf.gfile.GFile(filename, 'rb') as f:
27+
with tf.gfile.FastGFile(filename, 'rb') as f:
2828
graph_def.ParseFromString(f.read())
2929
tf.import_graph_def(graph_def, name='')
3030
print('Success!')

0 commit comments

Comments
 (0)