Used to arrange data before and after the training of the model
os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2'
Need to add:
with tf.device('/cpu:0):
before compiling, saving and loading the model
TensorFlow, keras and sklearn
While loop runs until closing the program. Every time you close the matplolib image another prediction is accured on random number.
while True:
random_number = randrange(0,10000)
Number_prediction(Guesser_model, random_number)
The result is printed in the terminal and in matplotlib image