Hello,
I have made 50% progress on coding C3M2_Assignment of PyTorch advanced architectures. However, when I started back up after a break, I see all of my chages are gone and reset to default starting state. I usually click on JupyterLab link to access the env in full tab view.
Is there a way I can recover my code? Maybe some way I can get to the code I have previously submitted?
If the official lab assignment shown in the left-side folder panel is now reset, it is most likely that the previous version of the notebook has been cleared or replaced by a fresh instance of the environment.
In such cases, the earlier work is generally not recoverable through the platform, as the workspace reflects the current server state of the lab environment.
You will need to continue from the reset version of the assignment and redo the work, I don’t think you can find the previous one unfortunately. What you can do is download your work on the assignment for the future attempts, just to make sure you don’t loose it, but it shouldn’t normally happen!
Although you cannot recover your previous work, but here is what you can do next time so you don’t loose your work again, everytime you are working, make sure to click save emicon place on left upper corner side after you have passed every exercise unittest.
But sometimes in case you close off your lab assignment console and open after 24-48 hours, lab console is set up to automatically refresh and reset, but in case you are only minimize the window browser for taking a break, use the earlier suggestion I mentioned to save your work by clicking on save emicon. I hope you also know before you submit make sure to save your work and then only submit your work as changes made in between sometimes don’t get updated while you submit the assignment and the older version get submitted to autograder resulting in failed submission.
I have been saving, literally after every line of code.
When I start-work-restart, it works most of the time. However, now I am facing this issue with this lab particularly twice.
There is a bug in the lab platform that is causing this issue. I think dl.ai should look into this.
There should also be a way to “restore” a prior submission of lab. I was 50% credit done. But there is no way to recover a prior submission. Only restore back to zero.
I understand your frustration. I have made some changes to the workspace. Hopefully, the work will be persisted going forward. Though, once again, your current progress might be lost since backend changes were made. I have sent you a DM regarding it.
Just to reiterate, before you take a break or close the assignment, please make a habit of saving your notebook (in red), saving your workspace (in blue)