report
This commit is contained in:
parent
535558f128
commit
7b11c01c02
Binary file not shown.
6
main.py
6
main.py
|
|
@ -50,15 +50,13 @@ test_data = test_data.prefetch(buffer_size=AUTOTUNE)
|
||||||
|
|
||||||
#Data Augmentation
|
#Data Augmentation
|
||||||
data_augmentation = tf.keras.Sequential([
|
data_augmentation = tf.keras.Sequential([
|
||||||
tf.keras.layers.RandomFlip('horisontal'),
|
tf.keras.layers.RandomFlip('horizontal'),
|
||||||
tf.keras.layers.RandomRotation(0.2)
|
tf.keras.layers.RandomRotation(0.2)
|
||||||
])
|
])
|
||||||
|
|
||||||
#Rescale Pixel Values
|
#Preprocessing
|
||||||
preprocess_input = tf.keras.applications.mobilenet_v3.preprocess_input
|
preprocess_input = tf.keras.applications.mobilenet_v3.preprocess_input
|
||||||
|
|
||||||
rescale = tf.keras.layers.Rescaling(1./127.5, offset=-1)
|
|
||||||
|
|
||||||
#Create Base Model From MobileNetV3
|
#Create Base Model From MobileNetV3
|
||||||
IMG_SHAPE = IMG_SIZE + (3,)
|
IMG_SHAPE = IMG_SIZE + (3,)
|
||||||
base_model = tf.keras.applications.MobileNetV3Large(
|
base_model = tf.keras.applications.MobileNetV3Large(
|
||||||
|
|
|
||||||
BIN
report.odt
BIN
report.odt
Binary file not shown.
Loading…
Reference in New Issue