Update Week 2 Programming Assignment.ipynb

This is where you go wrong
we have to add "seed =seed" and "classes=['classroom','conference_room','church_outdoor']"
This commit is contained in:
M21han 2020-10-09 00:07:51 +05:30 committed by GitHub
parent 84482561a2
commit 409aac3753
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -179,14 +179,14 @@
" The seed argument should be passed to the flow_from_directory method.\n",
" \n",
" \"\"\"\n",
" # I couldn't get this one right. If you get it let me know So, I can recitfy.\n",
"
" image_data_gen = image_data_generator.flow_from_directory(\n",
" directory = directory,\n",
" classes=['classroom','conference_room','church_outdoor'],\n",
" batch_size = 20,\n",
" target_size = (64,64),\n",
" \n",
" seed=seed,\n",
" class_mode = \"categorical\"\n",
" \n",
" )\n",
" return image_data_gen\n",
" "