Hello. By mistaken I was deleted the piece of code from original assignment. Currently, I do not know how to restore the original code the way that if i would open notebook for the firt time. Does anyone know how i can update/refresh/ troubleshoot?
Hello @elnaramammadzada
Here you go.
H​ow to Refresh your Workspace:
O​ption 1 - Using Lab Help
- O​pen the assignment.
- After the assignment opens up, c​lick "File" (top left) and then "Open…"
- W​hen your workspace opens, select the check box before your assignment file. After it is selected, press "Shutdown".
- U​sing the same procedure mentioned above, "Rename" your file. For instance you can change it from assignment_name.ipynb to assignment_name_v2.ipynb. By doing this you’ll be able to save your current progress on the assignment after the latest assignment file is fetched.
- Using the same procedure, "Delete" any other file, if any, that you want to get a fresh copy of.
- After renaming your file, click on the "Help" button on the top right of the page. From the panel that opens, click "Get latest version" button, and then "Update lab".
- A​fter the page reloads go to File → Open… , as described in (2)
- Now you’ll see two notebook files. The one you renamed (as done in step 4) will have your previous progress, and the latest version. (Depending on how many previous versions you have kept saved, you could have more than two assignment files in the worksapce)
O​ption 2 - via URL
- F​ollow the steps 1 to 5 as mentioned in Option 1.
- In the URL of the page append “?forceRefresh=true” at the end of it. For instance, coursera.org will become Coursera | Online Courses & Credentials From Top Educators. Join for Free
- F​ollow the steps 7 and 8.
2 Likes
It helped. Thank you a lot for this help.
1 Like
Thanks… However, even after doing these steps , I am unable to see the X_train dataset array , before loading dataset. I have lost values of x_train array, where can I find it.