DLS Course 4: When Saving: "Permission denied: W4A1/Face_Recognition.ipynb"

Had the same issue for C4W1A2

1 Like

Thanks for letting us know @Jh_K, please refer to my earlier reply for a workaround.

Raymond

1 Like

Great! Problem solved. Thank you

1 Like

Thanks @rmwkwok . The workaround is helpful. I am able to save the files now. Thanks

1 Like

Also the same issue, I assumed there should be announcement of some kind to not even try completing any assignments until it is resolved?

1 Like

Hi, folks!

If this temporary hack didn’t work for you, kindly refer to that post . You will need to submit your info as mentioned there.

Best,
Saif.

1 Like

We can see that several days passed without solution.

1 Like

@Associacao_Laborator @VikingMonkey Have you tried this?

1 Like

Hi, yes it worked. Thx!

1 Like

Today I have no problem but I got a new problem in Art_Generation_with_Neural_Style_Transfer exercice. The kernel die here:

# Assign the content image to be the input of the VGG model.  
# Set a_C to be the hidden layer activation from the layer we have selected
preprocessed_content =  tf.Variable(tf.image.convert_image_dtype(content_image, tf.float32))
a_C = vgg_model_outputs(preprocessed_content)
1 Like

In fact, it dies after executin the cell:

content_target = vgg_model_outputs(content_image)  # Content encoder
style_targets = vgg_model_outputs(style_image)     # Style encoder
1 Like

Hello @Associacao_Laborator!

Kindly check this post regarding kernel die.

Best,
Saif.

2 Likes

It doesn’t solve the problem. I had an exercise downstream that I was not able to test. I submitted without that final test but everything turned to be ok, I passed with 100%.

1 Like

Ok, it sounds like all your “graded” functions are correct, but there may be something else going wrong. E.g. did you add any debugging print statements in any of the lower level functions that get called from the higher level loops? That would cause the memory image of the notebook to grow quickly and that’s one possible thing that can cause the kernel to die.

1 Like

Hi. I didn’t do any debugging.

1 Like

Please show us a screenshot of what it looks like when it fails, including the output of the cell that was running at the time …

1 Like

Above I put the content of the cell that results in a problem. What I see is a red notification saying the kernel is dead. That cell that causes the trouble has an output that seems correct but the output of the next cell is the result of the kernel having died, not recognizing functions, etc, namely tf.

1 Like