You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 21, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+14-14Lines changed: 14 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,12 +9,12 @@ For each Pull Request, the affected code parts should be briefly described and a
9
9
Once a release is done, the "Upcoming" section becomes the release changelog, and a new empty "Upcoming" should be
10
10
created.
11
11
12
-
13
12
## Upcoming
14
13
15
14
### Added
16
15
17
16
- ([#671](https://github.com/microsoft/InnerEye-DeepLearning/pull/671)) Remove sequence models and unused variables. Simplify README.
17
+
- ([#693](https://github.com/microsoft/InnerEye-DeepLearning/pull/693)) Improve instructions for HelloWorld model in AzureML.
18
18
- ([#678](https://github.com/microsoft/InnerEye-DeepLearning/pull/678)) Add function to get log level name and use it for logging.
19
19
- ([#666](https://github.com/microsoft/InnerEye-DeepLearning/pull/666)) Replace RadIO with TorchIO for patch-based inference.
20
20
- ([#643](https://github.com/microsoft/InnerEye-DeepLearning/pull/643)) Test for recovery of SSL job. Tracks learning rate and train
@@ -160,7 +160,6 @@ in inference-only runs when using lightning containers.
160
160
- ([#633](https://github.com/microsoft/InnerEye-DeepLearning/pull/633)) Model fields `recovery_checkpoint_save_interval` and `recovery_checkpoints_save_last_k` have been retired.
161
161
Recovery checkpoint handling is now controlled by `autosave_every_n_val_epochs`.
162
162
163
-
164
163
## 0.3 (2021-06-01)
165
164
166
165
### Added
@@ -291,6 +290,7 @@ console for easier diagnostics.
This model can be trained from the commandline from the root of the repo: `python InnerEye/ML/runner.py --model=HelloWorld`.
11
+
When used like this, it will use dummy 3D scans as the training data, that are included in this repository. Training will run
12
+
on your local dev machine.
13
+
14
+
In order to get this model to train in AzureML, you need to upload the data to blob storage. This can be done via
15
+
[Azure Storage Explorer](https://azure.microsoft.com/en-gb/features/storage-explorer/) or via the
16
+
[Azure commandline tools](https://docs.microsoft.com/en-us/cli/azure/). Please find the detailed instructions for both
17
+
options below.
18
+
19
+
Before uploading, you need to know what storage account you have set up to hold the data for your AzureML workspace, see
20
+
[Step 4 in the Azure setup](setting_up_aml.md): For the upload you need to know the name of that storage account.
21
+
22
+
## Option 1: Upload via Azure Storage explorer
23
+
24
+
First install [Azure Storage Explorer](https://azure.microsoft.com/en-gb/features/storage-explorer/).
25
+
26
+
When starting Storage Explorer, you need to [log in to Azure](https://docs.microsoft.com/en-gb/azure/vs-azure-tools-storage-manage-with-storage-explorer?tabs=windows).
27
+
28
+
* Select your subscription in the left-hand navigation, and then the storage account that you set up earlier.
29
+
* There should be a section "Blob Containers" for that account.
30
+
* Right-click on "Blob Containers", and choose "Create Blob Container". Give that container the name "datasets"
31
+
* Click on the newly created container "datasets". You should see no files present.
32
+
* Press "Upload" / "Upload folder"
33
+
* As the folder to upload, select `<repo_root>/Tests/ML/test_data/train_and_test_data`
34
+
* As the destination directory, select `/hello_world`.
35
+
* Start the upload. Press the "Refresh" button after a couple of seconds, you should now see a folder `hello_world`, and inside of it, a subfolder `train_and_test_data`.
36
+
* Press "Upload" / "Upload files".
37
+
* Choose `<repo_root>/Tests/ML/test_data/dataset.csv`, and `/hello_world` as the destination directory.
38
+
* Start the upload and refresh.
39
+
* Verify that you now have files `/hello_world/dataset.csv` and `/hello_world/train_and_test_data/id1_channel1.nii.gz`
40
+
41
+
## Option 2: Upload via the Azure CLI
42
+
43
+
First, install the [Azure commandline tools](https://docs.microsoft.com/en-us/cli/azure/).
44
+
45
+
Run the following in the command prompt:
46
+
47
+
```shell
48
+
az login
49
+
az account list
50
+
```
51
+
52
+
If the `az account list` command returns more than one subscription, run `az account set --name "your subscription name"`
53
+
54
+
The code below assumes that you are uploading to a storage account that has the name
55
+
`stor_acct`, please replace with your actual storage account name.
56
+
57
+
```shell
58
+
cd<your_repository_root>
59
+
az storage container create --account-name stor_acct --name datasets
A "datastore" in AzureML lingo is an abstraction for the ML systems to access files that can come from different places. In our case, the datastore points to a storage container to which we have just uploaded the data.
67
+
68
+
Instructions to create the datastore are given
69
+
[in the AML setup instructions](setting_up_aml.md) in step 5.
70
+
71
+
## Run the HelloWorld model in AzureML
72
+
73
+
Double-check that you have copied your Azure settings into the settings file, as described
74
+
[in the AML setup instructions](setting_up_aml.md) in step 6.
0 commit comments