Skip to content

Commit

Permalink
Update example apps' test data path, patch hsdk in local env, and ens…
Browse files Browse the repository at this point in the history
…ure correct MD SDK is used in dev env (#516)

* Add post intall action to patch holoscan package, v2.7 and 2.8

Signed-off-by: M Q <mingmelvinq@nvidia.com>

* Update fixed turorials

Signed-off-by: M Q <mingmelvinq@nvidia.com>

* Updated the setup post install action, local sdk version, and notebook examples

Signed-off-by: M Q <mingmelvinq@nvidia.com>

* Updated the doc too

Signed-off-by: M Q <mingmelvinq@nvidia.com>

* Fix linting error

Signed-off-by: M Q <mingmelvinq@nvidia.com>

---------

Signed-off-by: M Q <mingmelvinq@nvidia.com>
  • Loading branch information
MMelQin authored Jan 17, 2025
1 parent 9608cd7 commit 7de1e62
Show file tree
Hide file tree
Showing 14 changed files with 3,619 additions and 4,194 deletions.
7 changes: 3 additions & 4 deletions docs/source/getting_started/tutorials/mednist_app.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ jupyter-lab

## Executing from Shell

**_Note:_** Data files are now access controlled. Please first request permission to access the [shared folder on Google Drive](https://drive.google.com/drive/folders/1EONJsrwbGsS30td0hs8zl4WKjihew1Z3?usp=sharing). Please download zip file, `mednist_classifier_data.zip` in the `medmist_classifier_app` folder, to the same folder as the notebook example.

```bash
# Clone the github project (the latest version of the main branch only)
git clone --branch main --depth 1 https://github.com/Project-MONAI/monai-deploy-app-sdk.git
Expand All @@ -67,11 +69,8 @@ pip install monai-deploy-app-sdk

# Download/Extract mednist_classifier_data.zip from https://drive.google.com/file/d/1yJ4P-xMNEfN6lIOq_u6x1eMAq1_MJu-E/view?usp=sharing

# Download mednist_classifier_data.zip
pip install gdown
gdown https://drive.google.com/uc?id=1yJ4P-xMNEfN6lIOq_u6x1eMAq1_MJu-E

# After downloading mednist_classifier_data.zip from the web browser or using gdown
# After having downloaded mednist_classifier_data.zip from the web browser or using gdown
unzip -o mednist_classifier_data.zip

# Install necessary packages required by the app
Expand Down
7 changes: 3 additions & 4 deletions docs/source/getting_started/tutorials/monai_bundle_app.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ jupyter-lab

## Executing from Shell

**_Note:_** Data files are now access controlled. Please first request permission to access the [shared folder on Google Drive](https://drive.google.com/drive/folders/1EONJsrwbGsS30td0hs8zl4WKjihew1Z3?usp=sharing). Please download zip file, `mednist_classifieai_spleen_seg_bundle_data.zip` in the `ai_spleen_seg_app` folder, to the same folder as the notebook example.

```bash
# Clone the github project (the latest version of main branch only)
git clone --branch main --depth 1 https://github.com/Project-MONAI/monai-deploy-app-sdk.git
Expand All @@ -57,10 +59,7 @@ pip install --upgrade monai-deploy-app-sdk

# Download/Extract ai_spleen_bundle_data zip file from https://drive.google.com/file/d/1cJq0iQh_yzYIxVElSlVa141aEmHZADJh/view?usp=sharing

# Download the zip file containing both the model and test data
pip install gdown
gdown https://drive.google.com/uc?id=1Uds8mEvdGNYUuvFpTtCQ8gNU97bAPCaQ

# Download the zip file containing both the model and test data.
# After downloading it using gdown, unzip the zip file saved by gdown and
# copy the model file into a folder structure that is required by CLI Packager
rm -rf dcm
Expand Down
7 changes: 3 additions & 4 deletions docs/source/getting_started/tutorials/multi_model_app.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ jupyter-lab

## Executing from Shell

**_Note:_** Data files are now access controlled. Please first request permission to access the [shared folder on Google Drive](https://drive.google.com/drive/folders/1EONJsrwbGsS30td0hs8zl4WKjihew1Z3?usp=sharing). Please download zip file, `ai_multi_model_bundle_data.zip` in the `ai_multi_ai_app` folder, to the same folder as the notebook example.

```bash
# Clone the github project (the latest version of main branch only)
git clone --branch main --depth 1 https://github.com/Project-MONAI/monai-deploy-app-sdk.git
Expand All @@ -43,10 +45,7 @@ cd monai-deploy-app-sdk
# Install monai-deploy-app-sdk package
pip install --upgrade monai-deploy-app-sdk

# Download the zip file containing both the model and test data
pip install gdown
gdown https://drive.google.com/uc?id=1llJ4NGNTjY187RLX4MtlmHYhfGxBNWmd

# Download the zip file containing both the model and test data.
# After downloading it using gdown, unzip the zip file saved by gdown
rm -rf dcm && rm -rf multi_models
unzip -o ai_multi_model_bundle_data.zip
Expand Down
11 changes: 4 additions & 7 deletions docs/source/getting_started/tutorials/segmentation_app.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ jupyter-lab
```

## Executing from Shell
Please note that this part of the example uses the latest application source code on Github, as well as the corresponding test data.

**_Note:_** Data files are now access controlled. Please first request permission to access the [shared folder on Google Drive](https://drive.google.com/drive/folders/1EONJsrwbGsS30td0hs8zl4WKjihew1Z3?usp=sharing). Please download zip file, `ai_spleen_seg_bundle_data.zip` in the `ai_spleen_seg_app` folder, to the same folder as the notebook example.

```bash
# Clone the github project (the latest version of main branch only)
git clone --branch main --depth 1 https://github.com/Project-MONAI/monai-deploy-app-sdk.git
Expand All @@ -43,12 +45,7 @@ cd monai-deploy-app-sdk
# Install monai-deploy-app-sdk package
pip install --upgrade monai-deploy-app-sdk

# Download/Extract ai_spleen_bundle_data zip file from https://drive.google.com/file/d/1cJq0iQh_yzYIxVElSlVa141aEmHZADJh/view?usp=sharing

# Download the zip file containing both the model and test data
pip install gdown
gdown https://drive.google.com/uc?id=1Uds8mEvdGNYUuvFpTtCQ8gNU97bAPCaQ

# Download the zip file containing both the model and test data.
# After downloading it using gdown, unzip the zip file saved by gdown and
# copy the model file into a folder structure that is required by CLI Packager
rm -rf dcm
Expand Down
Loading

0 comments on commit 7de1e62

Please sign in to comment.