How to Get a Clean Copy of an Assignment Notebook

Please Note: these instructions are for the Coursera platform. If you are using the DeepLearning.AI learning platform, the equivalent instructions can be found here.

If you want to restore the original unmodified state of any of the notebooks or the other files associated with any of the assignments, you can use the “Lab Help” menu of Coursera Labs to do that.

The first thing to do is to rename the existing notebook, because this procedure will not overwrite existing files. You need to move the current version of the notebook aside or delete it. The advantage of renaming is that you can later copy any completed work as desired to the fresh copy of the notebook.

Open the notebook by clicking the “Open Lab” button as usual. Then click “File → Rename” from the notebook menu:

Then choose a new name and click “Rename”:

Then click the Question Mark icon in the upper right corner of the renamed notebook:

Then click the “Get Latest Version” button on the resulting menu:

Confirm by clicking “Update Lab”:

Once that completes, you will be running the new clean copy of the notebook.

If you then want to copy any work from the old copy, the method is to open both copies in parallel. One way to do that is to click “File → Open” and open the saved copy. Go back to the “Programming Assignment” page and open another copy of the clean notebook by clicking “Open Lab” again. At that point, you have the two versions running in separate browser tabs and you can copy/paste in either direction. An important thing to remember is that the grader will only grade the notebook that has the standard name (the one opened by “Open Lab”), even if you click “Submit Assignment” from a different copy. If you decide to copy from clean to old, you need to rename things so that the final version ends up with the correct name.

If Your Notebook has been Deleted

In that case, clicking the “Open Lab” button will generate a 404 Error, but the Question Mark icon in the upper right corner is still available:

Just click the Question Mark button and follow the same steps shown above. Of course there is no need to do the “rename” step, since the notebook is already gone.

Can I refresh other files besides the Notebook?

You can also use this “Get Latest Version” procedure to replace any of the other files associated with the exercise. For example, if you edit one of the utility python files or test case files and want to get back the original, just delete or rename the file in question and then do the above “Get Latest Version” procedure. In that case, you can just leave the main notebook as is and it will not be replaced. Only missing files will be replaced by this procedure.

Important Note

If you are using this procedure to make sure you have the most up-to-date version of one of the assignments, it is important to delete or rename all the utility python files like public_tests.py that you see when you click “File → Open” from the notebook. The simplest method is just to select and delete all the files with “.py” extensions, unless you have made changes in those files that you want to save. Then rename the notebook and then click “Lab Help → Get Latest Version” as described above. The key point is that this procedure will only replace missing files, so you will not get the potentially updated version of the file unless you delete or rename it first.

34 Likes
How to reset a programming assignment
Course 1 week 2: bias 'b' value type in model vs initialize_with_zeros
Grader Failure: "Programming Assignment: Emojify (Emoji_v3a)"
Stuck at Week 3 assignment
Gradient Checking Assignment Error
C4_W3 yolo assignment submit error
Week 3 assifnment2 Cells deleted, not recovering
Programming Assignment: Residual Networks
Gradient_Checking assignment returns unknown error
Programming Assignment for week 4 is showing an unexpected error
Week 2 Programming Assignment Name Error, Need Help!
[Week3] create_training_example cell_UNQ_C4 function create_training_example failed test 1
Course 1, week 3, Assignment --- only 88/100
Programming Assignment : Deep Neural Network - Application
C_5 Week 1, Problem 1. All tests passed, but 0/100
Course 5 Week 4 : Can't find exercise 4
C1W1 grading error
Week 4: Programming Assignment: Face Recognition
My submission for week 4 face recognition is not graded
[W4, Programming Assignment: Deep Neural Network - Application]ValueError: too many values to unpack (expected 2)
C1-W4-Deep Neural Network - Application - Too many values to unpack
Grader Error: Grader feedback not found in C3W1
Grading Error While Submitting the Notebook
FAQ: Frequently Asked Questions for all DLS Courses
"Grading failed" when submitting the assignment
Course1 Week 3 Programming assignment (Exercise 8_nn model)
Improvise_a_Jazz_Solo_with_an_LSTM_Network_v4, the cell is stuck
Jupyter Lab isn't Opening - Course 1 Week 1
Plt_intuition, plt_stationary, plt_update_onclick, soup_bowl
The lab is out of files
Why am I getting error 'The Session graph is empty. Add operations to the graph before calling run().'?
Renamed optional labs and they all stopped working! Can anyone fix it, please!?
NLP C4 Week 2 UNQ_9 and UNQ_10
Code for week 4 assignment 1 exercise 9
ModuleNotFoundError in Jazz Improvement with LSTM
ModuleNotFoundError in Jazz Improvement with LSTM
How to get a new Jupyter notebook of the assignment
Week 3 - Trigger Word Detection
C2_W2_Assignment (I removed cell 4)
AI for Medical Diagnosis C1_W3_Assignment new template of def standardize(image) required
Grading Failed - Grader Error: Malformed feedback
Help! Error in Submitting My code
Attempting programming assignment again
W3 A1 |Nbgrader error: [ValidateApp | INFO] Validating
C1 W1 Assignment - Grading Failed
W 4_ Deep NN Application assignment - grade error
404 : Not Found You are requesting a page that does not exist!
Grading Failed Error on submitting notebook
Error: local variable 'cost_sum' referenced before assignment
Timeout waiting for execute reply (30s) - Programming Assignment: Deep Neural Network - Application
New Ungraded notebook
C1 W3 perceptron model returns <class 'NoneType'>
W2_Tempate Code for Validation Triggered Error
Page Not Found in Python with Numpy
C2-W1 assignment
Yolo assignment 1 car detectio cell 5 code
Reset notebook
Error in grading, I delete a cell but cannot back it!
[To Instructors] Reset my C3W1_Assignment
Error in grading, I delete a cell but cannot back it!
Unedited Assignment
Error in Initializing Adam Optimization Method in Week 2 of Course 2
C5 W1 A2 UNQ_C4 giving error
How to clear cache in workspace
NLP course 1 WK3 assignment file is gone
The notebook you provided has a syntax error that prevents it from compiling. Repeated
Course 1 Week 2 Graded Assignment Exercise 8
Week 1 The notebook you provided has a syntax error that prevents it from compiling
Course1 week3 lab assignment code cell got deleted
Problems with neural network structure
W4_A2_Dealing with exercises
Copypasta Lab code fail
NLP Specialization: Course 1, week3 assignment submission error
DLS course2 week 1 Initialization problem
Problem in using jupyter notbook
C4 W4 A2 - P2 Art Generation E6 train_step (UNQ_C5) "Unexpected cost for epoch"
Week 3 programming assignment reset?
Not able to do anything on last assignment
"There was a problem grading your submission. Check stderr for more details." Grading 1st week homework
DLS Course 4: When Saving: "Permission denied: W4A1/Face_Recognition.ipynb"
C2W2 Bias Programming Assignment
W3_Assignment submission issue
C5W4: Transformer Network
Unable to get a grade for the graded assignment for week 2 course 2
Week3 Assignment: Grader Reports One Test Cell Failed but No Instructions Given
C5 Week 4 Exercise 7: AssertionError: Wrong values in outd
Assignment_Submission_Validation_Error
Need Help!, How to solve syntax error problem, I don't have edit access for this code
Programming assignment won't grade
C1_W4_Assignment starter
Getting an error saying There was a problem grading your submission
Jupyter Notebook Issue
All test pass but grade error
On submission tests failing: tiny rounding error
Bug in practice lab?
C2W3_Assignment Build Better Generative Adversarial Networks (GANs) course
C1_W4_Assignment grading issue?
Course 1, Week 2, Lab Submission Error
Kernel Dying problem
Programming assignment - how to start over
W3_A1_ValidateApp_Grader_Error
I want to return the code as it was before the test
Week 2 unexpected indent
W2_A2_Stuck_with_Grader output zero
The answer of my submission, I faied
Couldn't find submit button in Course 4 Week 1
Week 2/ task 1/ Convolution_block
TypeError: subtract() missing 2 required positional arguments: 'x' and 'y'
Coursera Programming Assignment
There are so many pop-up windows : "Submit this notebook for grade "
Week 2 practice lab: Linear regression UNQ_C1
Received an error like this and accidentially deleted a cell
Neural Networks and Deep Learning - Week1, programming assignment, need clarification
Can't submit Sequence Models Week 3 Assignment 3
Urgent Assistance Needed - Missing Metadata in Assignment
WEEK4_Assignment1_after_2023_09_09 Update
Week 2 Assignment: Feature Engineering
Reload original assignment in jupyter
C3_W2_RecSysNN_Assignment Auto-grader Error 'd' not defined
Mistakenly deleted the cells
C2_W3_Assignment grades Error - wrong version
Programming Assignment: Eigenvalues and Eigenvectors grading issue
Unexpected error in grading
C3_W1 - Deleted Notebook
Course4 Week4 Assignment 2 - tensor shape mismatch in UNQ_C5 when computing content cost
404 : Not Found You are requesting a page that does not exist!
How can I get new labs files when encountering this error; 404 : Not Found
Accidentally Pressed 'D' while doing assignment
I cannot complete my graded assignment
Trigger Word Detection programming assignment not working
Week 2 Notebook
C1W4A1 - Help, getting 404 Not Found in Jupyter Notebook Lab
Course 3 wk2 assignment giving me this
DLS5, W2, A1 Can't compile student's code
Problem Grading Assignment Course 1 week 3 NLP specialization
Week 2: Optimisation Networks
Convolution_model_Step_by_Step_v1 Backward Pass formulas
W2_A2_Wrong values for d[w]
Course 2, Week 2, Assignment Optimization_methods
Problem in nearest_neighbor function
While submitting the assignment it show an zero percentage in grade but test case are passed how to solve this
Programming Assignment: Conditional GAN
Revert the original code
C5W3A2 Triggerword detection_No grades through passing tests
C4-W3-A2 Grader Error: Grader feedback not found
Week 4 assignement 2: I am Getting NameError: name 'compute_content_cost' is not defined
Error 404 showing
C2W2 Getting Error train_x not defined
Unexpected error in grading
Revert the original code
Week 2 Programming Assignment Sigmoid_Derivative
Week 4 Assignment 2 # UNQ_C2
Linear Algebra for Machine Learning and Data Science: week12Deleted a python lab:
I want to came back to the initial Lab
Tips for converting notebook to default mode
Coursera | Problem with Autograder in Week 4 of Deep learning Specialization's 1st course
Course1 Week4,test all passed but grade 0/ 100
C1_W_4 Task 5 'TypeError: align_embeddings() got an unexpected keyword argument 'verbose''
C1_W_4 Task 5 'TypeError: align_embeddings() got an unexpected keyword argument 'verbose''
Problems with modifying the Jupyter workbook
I have an error in week2 assignment
Transfer_learning_with_MobileNet_v1 - Cell10
Week 3 Graded Lab - Kernel issues
Problem with assignment Residual_Networks - convolutional-neural-networks- " identity_block" function
How to reset a cell to the original
Problem with the notebook
C1_w3_ lab assignment The loop exercise
W2_A2_Initialize with zeros undefined
A cry for help and solutions
C5_W1 assignment 1, how to reset the notebook
Helper function not found in trigger word detec
Cant access jazz improv assignment
Reset assignment For week-2
W4_A2_Two layer model_too many values to unpack
Can not submit
Week 2 A1 ResNet50
[Week 1] Error loading twitter_samples
Need help with one_hot encoding
C1_W4_Assignment Problem
C3W3_Assignment_Natural Language Processing with Sequence Models
"There was a problem compiling the code from your notebook."
Grader Error: Grader feedback not found WEEK 01 Natural Language Processing with Sequence Models
Error in grading. I’m facing a problem with grading for C2_W1_Assignment despite all tests passing, and I have run it before submitting
/notebooks/C1_W3_Lab02_Sigmoid_function_Soln.ipynb
Deep leaning specialization C4_W2_assignment-1
Lost my test notebook
I can't modify
Cannot restore notebook file for w3 assignment
I could not run my copy
Lr_model' is not defined
Week 4 - 2nd Assignment - layer_dims?
C2_W3 lab 1 regression with perceptron - getting errors in last 2 cells of notebook
C1_W3 assignment compute_pca got complexed-value eigenvectors
C1W2 Linear algebra course
Grade error in week 2 CNN
Course 4 Week 1 Assignment 1: 'conv_forward_test not defined', 'pool_forward_test' is not defined
C2W1 Assignment Error while grading but everything works as expected in the lab
ImportError: cannot import name 'process_tweet' from 'utils'
Week 2: exercise 3: NameError: name 'sigmoid_test' is not defined
Week2 Assignment -Transfer Learning with MobileNet - Issue with KEras version
Natural Language Processing with Classification and Vector Spaces WEEK3 ASSIGNEMENT
Course5 Week2 Assignment2 -Emoji_v3a submission error : Cell #21. Can't compile the student's code. Error: AssertionError('Wrong values. Debug with the given examples',)
Programming Assignment: Optimization Methods
Accidentally deleted part of the codes in Def L_model_forward for Building_your_Deep_Neural_Network_Step_by_Step
Help! Completed the specialisation except for C2_W3_Assignment
Problems with the rating of the first submission C2W1
WK 1, Ex. 2: NameError when submitting to grade
Assignment 4 (UNQ_C21) approximate_knn - Inconsistent data type for new_id (int vs. ndarray)
How can I reset the assignment notebook file to the starting point?
Deleted the programming assignment workbook by mistake
How to go to back to original assignment content as I deleted few cells by mistake
C2_W1_Assigment. Autocorrect ! The input './data/shakespeare.txt' is empty
Deep Learning Specialization - C4W4_Assignment_1 submission failure
C2_W1_Assigment. Autocorrect ! The input './data/shakespeare.txt' is empty
Course5 w1 A1
C1_W4_Assignment: Grader Error
Module 1. Getting started with PyTorch Fundamentals: Building a Simple Neural Network
C2 W1 graded assignment: deleted file/404 issue
W4 - Lost Exercice 5
Help! My Notebook will not open!
C4 W3 A1 yolo_eval
Week 2 - Residual Networks Programming Assignment
Week3 Lab last 3.3 - Train the Model kept failing even though it seems not requires us write any code
C1w2 Given an Error No Matter What I do
Grader gives 0 points despite correct code and shows following message
C5W3Trigger_word_detection_v2a
Guidance: week 2 Logistic Regression with a Neural Network Mindset
W4_Assignment 1 Library loading error
Keras has no attribute 'set_learning_phase'
Week3 Assignment2 - problem with yolo_eval
Comment line with index: `UNQ_C1` wasn't found in code
Strange error on unmatched ")"
I can't open the notebook 'C3_W3_Assignment.ipynb'
Week 3 Assignment 3
Getting error while opening practice lab
C3W3 Lab Assignment
I m not able to complete week 2 assignment 2 of deep learning speacialization
Week 1 Regularization assignment : Unable to load the data
Grading issue
C5W1 assignment grade issue
Unable to understand the error
Error in C3_W3_Lab_1 note book Section 2.1
W4A2/DeepNeuralNetwork Application.ipynb Lab Grading Error
C3_W3_Assignment.ipynb
Jupyter Notebook has someone else's work in it
Unable to access course 3 w3 graded assignment 1
Data Storage and Queries Week3 Assignment 3 Programming Assignment | Please Help
week2Exercise12b
C3W3 Assignment 3 - Advanced SQL Queries - Notebook problem
Potential formatting issues in assignment
C1W2 Programming assignment exercise 2
C3W3 Assignment 3 restore original notebook
C4W1 Convolution Model Application Grader Error: Grader feedback not found
Data Storage & Queries Lab Assignement
AssertionError: Wrong value on scores [0.855 0.828]
C3W3 Practice Lab 1 - Jupyter Notebook is taking too long to complete cell run for Exercise 1
C3W3 Practice Lab 1 - Jupyter Notebook is taking too long to complete cell run for Exercise 1
Assignment submission issue
Reset the C3_W3_Assignment file
C3W3 Assignment 3 - Advanced SQL Queries - Notebook problem
Deeplearning specialization Course 5 Week 2, programming assignment 2
C2W1PracLab1 MyPractice Lab is cannot open how i fix this
Week3 Assignment Cost Function Test failed
Help me with this error in week#3 trigger assignment
Feedback on my assessment result for "Advanced Learning ALgorithm" course not clear
Practice Lab 1: Interacting With a Relational Database Using SQL
Practice Lab 1: Interacting With a Relational Database Using SQL
C1w3_wgan_gp
C1W1 Exercises 4 and 5 There was a problem grading your submission. Check stderr for more details
C3_W1_Lab1 - Jupyter Notebook taking too long to load
In C1_W3_Logistic_Regression, I am encountering difficulties progressing and scoring due to an input restriction error in the code
One_hot_matrix error
C2W3_style GAN_UNQ_C6
C1W2_Assignment - Error on original version of the notebook
W4 Assignment 1, Exercise 7 correction made to assignment code
W2_A2_Assert type(b) == float
Some notes on week 4, programming assignment 2
Incedible slow execution of Emojifier-V1 model
[W3, A1] Exercise 2- modelf Error
Exercise 9 - L_model_backward W4_A1
Neural Machine Translation Assignment: ValueErrror
Am having issue with week 4
Week 3 - Coding part, exercise 3
Week 2 practice lab programming assignment not loading
How do I reset the Programming Assignment in Coursera?
Problem with exercise of week4 - Deep Neural Network - Application
C1_W4_Assignment Grading failed error
Problem grading Gradient_Checking
Non-Regularized Model
C1_W4_Assignment “planes_l” is not defined
Can'd submit Assignement
Coursera grade keeps failing?
NLP specialization- Jupyter notebook problem
Course4_week_4_exercise(1)_autograder_issue
Week 1 and Week 2 Programming Assignment Errors
Convolutional Neural Networks Autograder issues
C3W3A3: Lab cells not present
New in ML and need some help
Issue with Deep learning specialization course 5 sequence models week 1 assignment'jazz Improvisation with LSTM"
C3M4_Assignment notebook accidentially deleted
C1W1_Your_First_GAN
Assignment 1 issue C1W1_Your_First_GAN
Guys I am completely baffled
Ex-w2a1 grades not being evaluated
Welcome to Natural Language Processing with Sequence Models
Eliminación gaussiana
Eliminación gaussiana
C1W4_Assignment_Programming Assignment
C5 week 2 Emojifier - v1 Ex 2 Model
C1W2_Assignment submitting error
Course 2 - W1 - excercise 1-3 ModuleNotFoundError
Course 2, Week 2 "ModuleNotFoundError" Error
I can,t understand this error - DLS Course 2 week 2 Assignment
Week 2 optimization assignment error
Deep learning Image Classification. Grade is 0. No actual errors
Resnet50.h5 accidental delete
W1 A3 Exercise 3 : "gradient_check_n_test: is not defined" error by grader
Week 3 — Exercise 6

Even after following all above steps, still the “Submit Assignment” is not visible in my jupyter notebook…
What should I do for it?

1 Like

Are you sure you also went through the suggestions for “No Submit Button” on the FAQ Thread. It is also worth trying logging out of Coursera and back in again.

1 Like

Yes, I followed all steps but still it’s not working.

1 Like