This repository has been archived by the owner on Mar 21, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 142
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
📝 Add quick setup, add review comment changes
- Loading branch information
1 parent
3384cd8
commit fc743ab
Showing
3 changed files
with
41 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,33 +44,31 @@ architecture. | |
|
||
Once training in AzureML is done, the models can be deployed from within AzureML. | ||
|
||
## Getting started | ||
## Quick Setup | ||
|
||
### Set up InnerEye | ||
This quick setup assumes you are using a machine running Ubuntu with Git, Git LFS, Conda and Python 3.7+ installed. Please refer to the [setup guide](docs/environment.md) for more detailed instructions on getting InnerEye set up with other operating systems and installing the above prerequisites. | ||
|
||
Please refer to our [setup guide](docs/environment.md) for instructions on getting InnerEye-DeepLearning set up on your device. | ||
### Instructions | ||
|
||
### Run HelloWorld Model | ||
1. Clone the InnerEye-DeepLearning repo by running the following command: | ||
|
||
Now try to run the `HelloWorld` segmentation model - that's a very simple model that will train for 2 epochs on any | ||
machine, no GPU required. You need to set the `PYTHONPATH` environment variable to point to the repository root first. | ||
Assuming that your current directory is the repository root folder, on Linux `bash` that is: | ||
```shell | ||
git clone --recursive https://github.com/microsoft/InnerEye-DeepLearning & cd InnerEye-DeepLearning | ||
``` | ||
|
||
```shell | ||
export PYTHONPATH=`pwd` | ||
python InnerEye/ML/runner.py --model=HelloWorld | ||
``` | ||
2. Create and activate your conda environment: | ||
|
||
(Note the "backtick" around the `pwd` command, this is not a standard single quote!) | ||
```shell | ||
conda env create --file environment.yml && conda activate InnerEye | ||
``` | ||
|
||
On Windows: | ||
3. Verify that your installation was successful by running the HelloWorld model (no GPU required): | ||
|
||
```shell | ||
set PYTHONPATH=%cd% | ||
python InnerEye/ML/runner.py --model=HelloWorld | ||
``` | ||
```shell | ||
python InnerEye/ML/runner.py --model=HelloWorld | ||
``` | ||
|
||
If that works: Congratulations! You have successfully built your first model using the InnerEye toolbox. | ||
If the above runs with no errors: Congratulations! You have successfully built your first model using the InnerEye toolbox. | ||
|
||
If it fails, please check the | ||
[troubleshooting page on the Wiki](https://github.com/microsoft/InnerEye-DeepLearning/wiki/Issues-with-code-setup-and-the-HelloWorld-model). | ||
|
@@ -80,17 +78,17 @@ If it fails, please check the | |
Further detailed instructions, including setup in Azure, are here: | ||
|
||
1. [Setting up your environment](docs/environment.md) | ||
2. [Setting up Azure Machine Learning](docs/setting_up_aml.md) | ||
3. [Training a simple segmentation model in Azure ML](docs/hello_world_model.md) | ||
4. [Creating a dataset](docs/creating_dataset.md) | ||
5. [Building models in Azure ML](docs/building_models.md) | ||
6. [Sample Segmentation and Classification tasks](docs/sample_tasks.md) | ||
7. [Debugging and monitoring models](docs/debugging_and_monitoring.md) | ||
8. [Model diagnostics](docs/model_diagnostics.md) | ||
9. [Move a model to a different workspace](docs/move_model.md) | ||
10. [Working with FastMRI models](docs/fastmri.md) | ||
11. [Active label cleaning and noise robust learning toolbox](https://github.com/microsoft/InnerEye-DeepLearning/blob/1606729c7a16e1bfeb269694314212b6e2737939/InnerEye-DataQuality/README.md) | ||
12. [Using InnerEye as a git submodule](docs/innereye_as_submodule.md) | ||
1. [Setting up Azure Machine Learning](docs/setting_up_aml.md) | ||
1. [Training a simple segmentation model in Azure ML](docs/hello_world_model.md) | ||
1. [Creating a dataset](docs/creating_dataset.md) | ||
1. [Building models in Azure ML](docs/building_models.md) | ||
1. [Sample Segmentation and Classification tasks](docs/sample_tasks.md) | ||
1. [Debugging and monitoring models](docs/debugging_and_monitoring.md) | ||
1. [Model diagnostics](docs/model_diagnostics.md) | ||
1. [Move a model to a different workspace](docs/move_model.md) | ||
1. [Working with FastMRI models](docs/fastmri.md) | ||
1. [Active label cleaning and noise robust learning toolbox](https://github.com/microsoft/InnerEye-DeepLearning/blob/1606729c7a16e1bfeb269694314212b6e2737939/InnerEye-DataQuality/README.md) | ||
1. [Using InnerEye as a git submodule](docs/innereye_as_submodule.md) | ||
|
||
## Deployment | ||
|
||
|
@@ -157,6 +155,6 @@ This project has adopted the [Microsoft Open Source Code of Conduct](https://ope | |
For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or | ||
contact [[email protected]](mailto:[email protected]) with any additional questions or comments. | ||
|
||
## This toolbox is maintained by the | ||
## Maintenance | ||
|
||
[Microsoft Medical Image Analysis team](https://www.microsoft.com/en-us/research/project/medical-image-analysis/). | ||
This toolbox is maintained by the [Microsoft Medical Image Analysis team](https://www.microsoft.com/en-us/research/project/medical-image-analysis/). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters