Posts

Showing posts from January, 2023

Transfer Learning with InceptionV3 model on Cats vs Dogs

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

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