Downloading your Notebook and Refreshing your Workspace

This course uses Coursera Labs to provide a notebook environment and to grade your work. There might be some instances where you need to download your notebooks or refresh your workspace to start from scratch. This reading item outlines the steps to do so.

Downloading your Notebook

In case you need to download your notebook for troubleshooting or running in your local environment, you can follow these steps:

Method 1 - If you want to just download the notebook you’re working on:

  1. From the Menu Bar of the notebook you are working on, Click File → Save and Checkpoint to first save your progress.
  2. Click File → Download as → Notebook (.ipynb). This should start downloading the file to your local machine.

Method 2 - If you want to download the notebook and other files available in the workspace:

  1. From the Menu Bar of the notebook you are working on, Click File → Save and Checkpoint to first save your progress.

  2. Click on the Lab Files tab at the upper right corner of the screen:

  3. A file explorer should slide from the right side of the screen. From there, you can click the Download all files button to get all available files. That will download a Files.zip file which you can extract to your local workstation.

    Alternatively, you can use the said file explorer to navigate to the files you want to download, tick the checkmark beside it, then click the Download button.

Refreshing your Workspace

This will come in handy whenever you need to start from scratch, fetch the latest version of the assignment, or run into a 404 error.

  1. O​pen the notebook from the classroom.
  2. After the notebook opens up, c​lick File → Open
  3. W​hen your workspace opens, tick the check box before your notebook file. After it is selected, press Shutdown. The icon beside the filename should turn from green to gray.
  4. Tick the checkbox again and this time choose Rename and enter any filename other than the original. For example, C4W1_Assignment.ipynb (original) → C4W1_Assignment_v2.ipynb
  5. (Optional) Tick the checkbox of any other file that you want to get a fresh copy of (e.g. dataset files that you might have manipulated irreversibly). Then click Delete . You can also opt to Rename or Download each file individually in case you want to keep them before deleting.
  6. Click on the Help button on the top right of the page.
  7. Click the Get latest version button.
  8. Click the Update Lab button. The page will refresh and you should now see the latest version of the notebook.
18 Likes
How can I setup the labs locally?
How to recover the original (Lab File - Week 3)?
ModuleNotFoundError
Trouble with programming exercise from week 2
Help with week 1 exercise 1 code
Unable to run labs and assignments on PC
W2_graded _assignement
Clarification in downloading lab files
C2_W1_Lab03_CoffeeRoasting_Numpy
AssertionError: Wrong output. Expected: 2.15510667 got: 2.75932426268233
[Updated] Is Python programming experience required for this course?
Week 3 excercise 8
AssertionError: Wrong output. Expected: 2.15510667 got: 2.75932426268233
Graded Programming assignment accidently deleted, now unable to do
Final Lab W3 Grading problem - All tests passed, excepted values are good but receive an error in submission
Week 3 assignment problem
C3_W1_Anomaly_Detection( Programming Assignment: Reinforcement Learning)
Kernel not working
Grader platform error
C3_W2_RecSysNN_Assignment Code error
ModuleNotFoundError - Pandas
Unable to complete the Assignment
ModuleNotFoundError - Pandas
How to reset optional labs/assignment-to start over?
Looking for files to run offline
Prog. asisgnments - adding comments, getting local copy with unit tests
Restore notebook to initial state?
Passed all tests but getting weird error when submitting
C3_W2_RecSysNN_Assignment 3 week 2 assignment exercise
Failed to convert a NumPy array to a Tensor (Unsupported object type numpy.ndarray)
Cost is Not Decreasing Week-2 Programming Assignment
DSL5 week 2 get notebooks images after submission
Utils package and Message error
DirectML for local Training
Lab utils documentation
Error while running jupyter notebook
Week 2 practice lab: Linear regression (assignment)
Week 1 2nd Assignment
C1_W3_Logistic_Regression. submission error
Programming Assignment: Week 3 practice lab: logistic regression
C1_W3 graded assignment
FAQ: Frequently Asked Questions for all MLS Courses
Submitting Course 2 Week 1 Assignment
Need CSV files for recommender system
Submission says idx is not defined
Week 2 practice lab: Linear regression (assignment)
Timeout waiting for execute reply (30s) - Programming Assignment: Deep Neural Network - Application
C3_W1_KMeans_Assignment Help required
Grader Issue - Not able to grade the assignment
Programming Assignment access
How to access utils.cpython-37.pyc
Grader Error: Grader feedback not found Need help!
Reset notebook
Problem with C1_W1_Lab03_Cost_function when I run it in my computer
On The Verge Of Doing The Practice Lab Week 2
How to make initial settings for Week 3 Assignment
Accidently Deleted Codes of lab: Gradient Descent
Programming Assignment: Practice Lab: Neural Networks for Multiclass classification
How can I setup the labs locally?
Starting your Python journey
MLS Course 1 Week 1 - Cost function
C2_W1_Assignment: value error
Plotting Routines in Local Directory
Keyerror:0 during decision tree
How to download the images and local routines of Jupyter Notebooks
Week 3: about utils.py file
`UNQ_C2` wasn't found in code
Logistic Regression with a Neural Network Mindset:lab
Cell #8. Can't compile the student's code. Error: NameError("name 'value' is not defined")
How to restart everything I wrote in Week 2 assigment
How to install lab_utils_uni in google colab notebook
C3_W3_A1_Assignment.ipynb
Wrong Autogarding
Doubt for Optional Labs
UNQ_C1 is duplicated
Query for lab_utils_uni
Got grade o while coded correctly
Unsolvable mistakes in practice lab of third week
Html Error or actual code issue on cell 10?
Practice Lab: Decision_trees
Unable to Submit the week 1 assignment
Unable to Submit the week 1 assignment
Week 2 coding problem in accessing the question
W3 Logistic Regression Practice Lab: Stuck on predict function
C3_W1_Anomaly_Detection - exercise 2 question
Week 3 programming
C2_W4_Decision_Tree_with_Markdown Ex 3 please help
C1_W2_Linear_Regression- error
Week 2 practice lab: Linear regression UNQ_C1
C2_W3_Lab01 Question
W3_A1_Ex-2_Understanding sizes of the layer
Unable to upload my response to the Week 2 coding assignment. Kindly Help!
The coding part in this course
Error "cannot import name 'process_tweet' from 'utils'"
Week 2 Linear Regression
Assignment 3 - I keep getting zero
Auto grader problem
Assignment 3 , Supervised learning Question 5 error
There was a problem compiling the code from your notebook. Details: name 'train_mnist' is not defined
Course 5 Week 3 Assignment 2 Submission errrors
Vote Help me in Week1 C3 assignment of Specialization Mathematics for ML and DS by deeplearning.ai
C3_W1_Assignment i think i ruined the file
C2W3 programming
Relu activation lab
C1_W2_Assignment how to reset the lab acutally I forget where to write code
C2_W1_Assignment error with "model"
Course 1 Week 3; Logistic regression assignment
Lab_utils_common import error
ML with Andrew Ng, Course#1, Week#2, Practice Lab Assignment
C3_W2_RecSysNN_Assignment: changed original code chunk now I cannot pass the lab
#C1W3 LAB Programming assignment error
Lab_utils_uni
Notebook error in C3W2
By mistake edited a ungraded cell in assignment
C3_W2 can't opened. its 404 not found
Lab_utils_uni library
C1_W2_Linear_Regression all test passed but getting Code Cell UNQ_C1: Function 'compute_cost' is incorrect. Check implementation. Code Cell UNQ_C2: Function 'compute_gradient' is incorrect
Machine Learning Specialisation #week1
C1_W3 Practice Lab 0% & Name Error
Practice assignment does not open
C2_W4_Assignment Incorrect syntax error
On the last assignment of the first course and I couldn't get through the python lab
C3w3 assignment
C4W1 - Programming Assignment Grading
Sequences, Time Series and Prediction C4W1 Submission Problem
Lab Python modules
The main assignment help needed
Week1, Optional lab Model Representation
C3W2 lab error - Collaborative Filtering
Advanced Algorithms Class-Machine Learning C2_W3_Assignment - Cell 29 Error by AutoGrader
C2_W4_Decision_Tree Practice Lab error when Submitting
How to plot Cost vs. Iteration when using SGDRegressor?
Guys I am completely baffled
Machine learning regression
C2_W2_Relu, Images are not downloaded after downloading labs
C3 Week1 Lab 1 compressed image does not show
Exercise 1 requires regularization in first test
MLS - C2_W2_Assignment - Missing contents
Saving an optional lab in Jupyter notebook
Week2 practice lab
Machine Learning Specialization week 3 assignment
‘numpy.float64’ object is not callable
Plotting data for linear regression