Advertisement
Guest User

Untitled

a guest
Jun 17th, 2019
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. def get_frozen_model():
  2. with gfile.GFile("resnetV150_frozen.pb",'rb') as f:
  3. graph_def = tf.GraphDef()
  4. graph_def.ParseFromString(f.read())
  5. return graph_def
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement