Connecting to VSCode wiped my notebook, completely

Daniel Goldwater 25 Reputation points
2023-03-23T16:40:27.24+00:00

I've been working on a project for some months on AML Studio. I recently wanted to utilize the VSCode integration, so I opened my workspace via the extension. I had my notebook open in the vscode version, and ran a couple of cells. I shut down the compute, and left it there.

Now I've come back to this and my notebook has been wiped. Completely, every cell. This is the case on the AML Studio proper, and on the vscode integration version. There doesn't seem to be any kind of backup tool I can use. I've looked in the filestore and there's no snapshot, no nothing. I looked at the last experiment run log, but it has no code.

Ofc when I work elsewhere, I use git. But there's no git integration in AML studio, and the terminal is so unusably slow that I haven't touched it in a long time.

I don't know what to do. This is literally months of work, wiped out. No idea what happened or how to rectify.

Any help much appreciated.

Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
2,852 questions
0 comments No comments
{count} votes

Accepted answer
  1. romungi-MSFT 44,951 Reputation points Microsoft Employee
    2023-03-27T05:07:08.34+00:00

    @Daniel Goldwater If you have your notebook setup under your user directory the files that are created and saved should be available in your default storage account i.e the storage account connected to your workspace under the fileshares of your storage account. For example, here is a screen shot of my notebooks under my username from the studio.

    User's image

    By default, all these files are mounted to your compute instance when you start the instance, and this enables you to connect to git through terminal and use an external source control mechanism. Since you have not added this the files that are added previously should be available here even if you have deleted your compute. The files should be visible under your user account even when no compute is available.

    The file share that is mounted is from your storage account as seen in the screen shot below:

    User's image

    This file share should be visible under your storage account file share tab and you should be able to download the data from storage explorer till the point the data was last saved. Ideally, notebook data is saved every 30seconds or whenever they are saved or when a checkpoint is created. Here is a screen shot of my storage account from storage browser to help you check the same on your account.

    User's image

    I hope this is helpful!! Thanks!!

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.