Did you change any of the reserved cells in your notebook and modified, that’s when grader became confused that is for your first error log.
For the second error log, you can refer this [Week 3] Image Segmentation Grading Issue - #2 by ravenJB
as it has similar error log issue, see that if helps. Let us know if you are still running the same issue.
Thank you
DP