Posts

Horses / Humans in TensorFlow

#!/usr/bin/python3 import tensorflow as tf class MCb(tf.keras.callbacks.Callback): def on_epoch_end(self, epoch, logs={}): if (logs.get('loss')

Fashion MNIST in TensorFlow

#!/usr/bin/python3 import tensorflow as tf class MnCb(tf.keras.callbacks.Callback): def on_epoch_end(self, epoch, logs={}): if (logs.get('loss')

MNIST Code in TensorFlow

#!/usr/bin/python3 import tensorflow as tf class MCb(tf.keras.callbacks.Callback): def on_epoch_end(self, epoch, logs={}): if (logs.get('loss')

Setting up TensorFlow on Mac

Run the following commands pip install tensorflow-macos pip install pillow pip install scipy

Setting up Tensorflow on Ubuntu

apt-get install pip3 pip3 install tensorflow pip3 install tensorflow-datasets pip3 install matplotlib