Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Section #4 - Capstone/simpsons.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@
"source": [
"# Training the model\n",
"\n",
"import scipy\n",
"from tensorflow.keras.callbacks import LearningRateScheduler\n",
"callbacks_list = [LearningRateScheduler(canaro.lr_schedule)]\n",
"training = model.fit(train_gen,\n",
Expand Down Expand Up @@ -368,4 +369,4 @@
}
}
]
}
}
1 change: 1 addition & 0 deletions Section #4 - Capstone/simpsons.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
import matplotlib.pyplot as plt
from tensorflow.keras.utils import to_categorical
from tensorflow.keras.callbacks import LearningRateScheduler
import scipy

IMG_SIZE = (80,80)
channels = 1
Expand Down