Skip to content

Commit 056ff02

Browse files
Train the CNN and save the history
1 parent acc22ab commit 056ff02

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

Audio_Classification_Using_CNNs.ipynb

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -430,10 +430,12 @@
430430
{
431431
"cell_type": "code",
432432
"source": [
433-
"##############################################\n",
434-
"############# YOUR CODES GO HERE #############\n",
435-
"hist = ...\n",
436-
"##############################################"
433+
"hist = model.fit(\n",
434+
" x_train_norm, y_train_encoded,\n",
435+
" epochs=100,\n",
436+
" batch_size=32,\n",
437+
" validation_data=(x_test_norm, y_test_encoded)\n",
438+
")"
437439
],
438440
"metadata": {
439441
"id": "0kZgjzjzUu1V"

0 commit comments

Comments
 (0)