C4_W1_Assignment Permission Denied Error

Is anybody else getting this error after they run the training loop in section 3.3

PermissionDeniedError: output_dir/model.opt_slots0.npy.gz.tmp; Permission denied

My Lab Id is : aiddlqgrlshs

Hi everyone! Sorry for the delay.

Kindly try this:

  1. From the blank notebook, click File -> Open.
  2. Tick the running notebook.
  3. Click Shutdown then Duplicate.
  4. Rename the old notebook (any filename).
  5. Rename the duplicate with the original filename (basically, just remove the -Copy1 string).
  6. Open this newly renamed notebook.
  7. You should be able to save this and also see the submit button after a minute.

You “might see an error about checkpoints failing. I think that’s okay because that’s related to the permissions of the hidden .ipynb_checkpoints folder. That is not needed for grading as far as I know. The changes should persist in the actual notebook itself even if they see that error. I submitted the notebook and got the expected grade.”



I have not managed to resolve this error even when updating to the new lab.

However, when I simply ignored the error I found I was able to complete the remaining sections of the lab without issue and was able to submit the assignment.