My code worked well in Colab, and I received the expected output and full marks for history.pkl. I would appreciate your help in resolving this. Thank you.
Can you check with the grader cell where you create root directory and split data. I am sharing a link for these two grader cell. See if you have followed as per the instructions mentioned for those two cells.
If still after following these instructions, you have this issue then send me your notebook.
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.