Hello Chathurika,
After going through your notebook, I am going to repeat again as I had suspected # Define root directory and # GRADED FUNCTION: split_data needs correction. Yo hardcoded the path for both the cells.
this is clearly mentioned in the root directory
Don’t hardcode the paths. Use os.path.join to append the new directories to the root_path parameter.
Please refer these points one by one for correction of both root directory and split data grader cell in the link shared. It is explained in detail. Do not create too many loops in your codes.
Also You batch_size is too small. Remember if your batch_size is too small, it has an effect performance of the model. Try using higher batch_size. See the graph below which compares yours and my assignment’s loss.
Also use optimizer only as ‘rmsprop’
Do these corrections and run your training model.
Let me know once you clear the assignment.
go one by one for cell correction, take break, it helps to do these codes better.
Regards
DP