The Python library enables Keras to send real-time training info to your Messenger account
pip install Keras_FB
Add following line for importing the library
from Keras_FB import main as fb
Add following line in fitting process
callbacks=[fb.sendmessage(savelog=True,
fexten='TEST',
username='PutYourUsernameIn', #facebook username
password='PutYourPasswordIn')] #facebook password
The fitting part's code should now looks like this
model.fit(X_train, Y_train, epochs=epoch, batch_size=batch,
callbacks=[fb.sendmessage(savelog=True,
fexten='TEST',
username='PutYourUsernameIn', #facebook username
password='PutYourPasswordIn')] #facebook password
)
Results:
Idea by Coldwings
Original Code by QuantumLiu
Modified by Kotobukki