From 409aac37530d3e722bd3bb19b5a14acf207a1d4f Mon Sep 17 00:00:00 2001 From: M21han <65151983+M21han@users.noreply.github.com> Date: Fri, 9 Oct 2020 00:07:51 +0530 Subject: [PATCH] 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']" --- Week 2 Programming Assignment.ipynb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Week 2 Programming Assignment.ipynb b/Week 2 Programming Assignment.ipynb index edfe8fa..c4d776d 100644 --- a/Week 2 Programming Assignment.ipynb +++ b/Week 2 Programming Assignment.ipynb @@ -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", " "