Week 4 YOLO Assignment

I am encountering the following problem while submitting the notebook:

  • I passed all the tests
  • I cannot write anything in the notebook directory. I couldn’t generate the output jpg file at the last step.
  • getting the error message:

Code Cell UNQ_C1: Unexpected error (AttributeError(“‘NoneType’ object has no attribute ‘shape’”)) occurred during function check. We expected function yolo_filter_boxes to return yolo_filter_boxes test 1 failed. Please check that this function is defined properly.
Code Cell UNQ_C2: Unexpected error (TypeError(“ufunc ‘isfinite’ not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ‘‘safe’’”)) occurred during function check. We expected function iou to return iou test 1 failed. Please check that this function is defined properly.
Code Cell UNQ_C3: Unexpected error (AttributeError(“‘NoneType’ object has no attribute ‘shape’”)) occurred during function check. We expected function yolo_non_max_suppression to return yolo_non_max_suppression test 1 failed. Please check that this function is defined properly.
Code Cell UNQ_C4: Unexpected error (TypeError(‘cannot unpack non-iterable NoneType object’)) occurred during function check. We expected function yolo_eval to return yolo_eval test 1 failed. Please check that this function is defined properly.
If you see many functions being marked as incorrect, try to trace back your steps & identify if there is an incorrect function that is being used in other steps.
This dependency may be the cause of the errors.

  • Apparently, it tried to submit the empty notebook although it wasn’t empty

Could it be possible that you are not submitting the latest updated notebook with the default name as needed for submission?

Otherwise you got a lot of basic errors it seems.

@gent.spah it seems like Coursera infrastructure has been hinky for a day or do. There must be 20 similar threads from all different courses and exercises popping up.

I see @ai_curious. Hope it gets fixed up soon…

Right, this is a known problem. It’s been reported to the course staff. Coursera is working on it.

1 Like

Update: To fix the Permission Denied error, please follow the instructions in pinned banner at the top of the thread.