Advertisement
Guest User

Untitled

a guest
Mar 19th, 2019
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. # save the model and label binarizer to disk
  2. print("[INFO] serializing network and label binarizer...")
  3. model.save("simple_multiclass_classifcation_model.model")
  4. f = open("simple_multiclass_classifcation_lb.pickle", "wb")
  5. f.write(pickle.dumps(lb))
  6. f.close()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement