SHARE
TWEET

Untitled

a guest Jun 17th, 2019 54 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if (retrain==True):
  2.     hist=model.fit(X_train,y_train, epochs =1000, batch_size = 250,callbacks=[time_callback,es],shuffle=True)
  3.     model.save('modelsaved.h5')
  4.   else:
  5.     model.load_weights('modelsaved.h5')
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top