In Programming Assignment: Exercise 4 (Handling complex images), I encounter the following error. how to resolve it?
Learner Error: Grader ran out of memory
Try submitting an optimized solution. If you think your solution is correct, please search the discussion forum to see if your peers have experienced and found resolutions for similar errors, or if course staff have provided prior guidance for these errors If the issue isn’t resolved in 24 hours, please reach out to Coursera through our Help Center.
1 Like
Could you message your notebook? (click my name and send notebook as attachment)
Hi @Asif_Khan,
Are you augmenting images? If so what are the parameters for augmentation?
This issue can be caused due to high memory-consuming tasks. Can you identify in your code what might be consuming the memory?
@Praveen_Kumar_Singh
This is a follow up to the direct message from you.
Please look at the way you are invoking model.fit
. You are calling train_happy_sad_model(gen)
. This leads to a recursive call. This is why the grader runs out of memory.
@Asif_Khan Can you check if you’re doing the same mistake as Praveen?