Skip to content

245 Update tutorials with new API (part 1)#246

Merged
Nic-Ma merged 19 commits intomasterfrom
245-update-with-new-api
Jul 12, 2021
Merged

245 Update tutorials with new API (part 1)#246
Nic-Ma merged 19 commits intomasterfrom
245-update-with-new-api

Conversation

@yiheng-wang-nv
Copy link
Copy Markdown
Contributor

@yiheng-wang-nv yiheng-wang-nv commented Jul 1, 2021

Signed-off-by: Yiheng Wang [email protected]

Partially fixes #245 .

Description

This PR updates all files (except the files that do not need to be changed with new APIs) in:

  • 2d_classification
  • 2d_segmentation
  • 3d_classification
  • 3d_segmentation
  • acceleration
  • modules/dynunet_pipeline
  • modules/engines

All of the changed files in the above folders have been tested locally.

The following folders are not updated due to version limitations:

  • deployment requires to use MONAI 0.5.2
  • federated_learning/nvflare requires to use nvflare==1.0.0 which requires to use MONAI 0.5.2
  • federated_learning/substra requires to use MONAI 0.3.0

For other folders:

Status

Ready

Checks

  • Notebook runs automatically ./runner [-p <regex_pattern>]

@review-notebook-app
Copy link
Copy Markdown

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

This commit is used to remove irrelevant changes such as image changes.

Signed-off-by: Yiheng Wang <[email protected]>
@yiheng-wang-nv yiheng-wang-nv force-pushed the 245-update-with-new-api branch from b9c3cf3 to 53b1b64 Compare July 2, 2021 15:32
@yiheng-wang-nv yiheng-wang-nv changed the title [WIP] 245 Update a part of tutorials 245 Update tutorials with new API (part 1) Jul 6, 2021
@yiheng-wang-nv yiheng-wang-nv marked this pull request as ready for review July 6, 2021 08:37
@yiheng-wang-nv yiheng-wang-nv requested review from Nic-Ma, rijobro and wyli July 6, 2021 08:38
@Nic-Ma
Copy link
Copy Markdown
Contributor

Nic-Ma commented Jul 9, 2021

Hi @wyli ,

I already reviewed this PR with comments, as it's a big PR, could you please help also take a look if you are available in case I missed some important thing?

Thanks in advance.

Copy link
Copy Markdown
Contributor

@Nic-Ma Nic-Ma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the quick update.
Looks good to me now.
@wyli could you please help double confirm it?

Thanks in advance.

Copy link
Copy Markdown
Contributor

@wyli wyli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, I'll rerun the nightly tests after this pr

@Nic-Ma Nic-Ma merged commit 28630e7 into master Jul 12, 2021
@Nic-Ma
Copy link
Copy Markdown
Contributor

Nic-Ma commented Jul 12, 2021

Looks good to me, I'll rerun the nightly tests after this pr

Hi @wyli ,

Should we tag 0.6.0 for this repo when all the tests passed?

Thanks in advance.

@wyli wyli deleted the 245-update-with-new-api branch July 12, 2021 12:47
@wyli
Copy link
Copy Markdown
Contributor

wyli commented Jul 12, 2021

sure I tagged 0.6.0

@Nic-Ma
Copy link
Copy Markdown
Contributor

Nic-Ma commented Jul 14, 2021

sure I tagged 0.6.0

Hi @wyli ,

Could you please help also tag 0.5.3? Otherwise, the users using the old version can't find suitable tutorials now.

Thanks.

@wyli
Copy link
Copy Markdown
Contributor

wyli commented Jul 14, 2021

sure I tagged 0.6.0

Hi @wyli ,

Could you please help also tag 0.5.3? Otherwise, the users using the old version can't find suitable tutorials now.

Thanks.

I couldn't find a good version for v0.5.3, do you have any idea?

@Nic-Ma
Copy link
Copy Markdown
Contributor

Nic-Ma commented Jul 14, 2021

sure I tagged 0.6.0

Hi @wyli ,
Could you please help also tag 0.5.3? Otherwise, the users using the old version can't find suitable tutorials now.
Thanks.

I couldn't find a good version for v0.5.3, do you have any idea?

Hi @wyli ,

I think maybe we can tag at this commit for v0.5.3?
9261e7d

Thanks.

boneseva pushed a commit to boneseva/MONAI-tutorials that referenced this pull request Apr 21, 2024
* Re-modify ipynb tutorials

This commit is used to remove irrelevant changes such as image changes.

Signed-off-by: Yiheng Wang <[email protected]>

* Remove useless log changes

Signed-off-by: Yiheng Wang <[email protected]>

* Run lightning cells

Signed-off-by: Yiheng Wang <[email protected]>

* update 3d reg

Signed-off-by: Yiheng Wang <[email protected]>

* restore paired_lung_ct.ipynb

Signed-off-by: Yiheng Wang <[email protected]>

* Add totensor

Signed-off-by: Yiheng Wang <[email protected]>

* update acceleration

Signed-off-by: Yiheng Wang <[email protected]>

* update acceletation and use from engine

Signed-off-by: Yiheng Wang <[email protected]>

* fix pep8 errors

Signed-off-by: Yiheng Wang <[email protected]>

* update based on review

Signed-off-by: Yiheng Wang <[email protected]>

* update to use SaveImage

Signed-off-by: Yiheng Wang <[email protected]>

Co-authored-by: Nic Ma <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update all the examples & notebooks to use new APIs

3 participants