Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ValueError in maisi_train_controlnet_tutorial.ipynb #1839

Merged
merged 22 commits into from
Sep 25, 2024

Conversation

KumoLiu
Copy link
Contributor

@KumoLiu KumoLiu commented Sep 23, 2024

Fixes #1838

Description

  • Upload to avoid torch.cuda deprecated error from GradScaler and autocast.
  • Update to remove file unclose error.
  • Update dim to avoid value error in controlnet tutorial.
  • Add multi-gpu check to avoid dist warning.

Checks

  • Avoid including large-size files in the PR.
  • Clean up long text outputs from code cells in the notebook.
  • For security purposes, please check the contents and remove any sensitive info such as user names and private key.
  • Ensure (1) hyperlinks and markdown anchors are working (2) use relative paths for tutorial repo files (3) put figure and graphs in the ./figure folder
  • Notebook runs automatically ./runner.sh -t <path to .ipynb file>

Signed-off-by: YunLiu <[email protected]>
Signed-off-by: YunLiu <[email protected]>
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

Signed-off-by: YunLiu <[email protected]>
@KumoLiu KumoLiu marked this pull request as draft September 23, 2024 10:53
@KumoLiu KumoLiu marked this pull request as ready for review September 24, 2024 03:14
KumoLiu and others added 9 commits September 24, 2024 11:48
Signed-off-by: YunLiu <[email protected]>
Signed-off-by: YunLiu <[email protected]>
Signed-off-by: YunLiu <[email protected]>
This reverts commit ec1c42c.
Signed-off-by: YunLiu <[email protected]>
DCO Remediation Commit for YunLiu <[email protected]>

I, YunLiu <[email protected]>, hereby add my Signed-off-by to this commit: 4c601dc

Signed-off-by: YunLiu <[email protected]>
@dongyang0122
Copy link
Collaborator

dongyang0122 commented Sep 24, 2024

It is better to have someone review the file.
active_learning/liver_tumor_al/active_learning.py

Since it is not related to MAISI. Thanks.

@KumoLiu
Copy link
Contributor Author

KumoLiu commented Sep 24, 2024

It is better to have someone review the file. active_learning/liver_tumor_al/active_learning.py

Since it is not related to MAISI. Thanks.

Hi @dongyang0122, I have reverted the change related to active learning in this pr and will create another to make the change. Sorry for confusion.

Copy link
Contributor

@guopengf guopengf left a comment

Choose a reason for hiding this comment

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

LGTM

@dongyang0122
Copy link
Collaborator

It is better to have someone review the file. active_learning/liver_tumor_al/active_learning.py
Since it is not related to MAISI. Thanks.

Hi @dongyang0122, I have reverted the change related to active learning in this pr and will create another to make the change. Sorry for confusion.

All look good to me. Thank you.

@KumoLiu KumoLiu enabled auto-merge (squash) September 25, 2024 14:43
@KumoLiu KumoLiu merged commit 203a999 into Project-MONAI:main Sep 25, 2024
6 checks passed
@KumoLiu KumoLiu deleted the fix-controlnet branch September 26, 2024 08:43
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.

ValueError in maisi_train_controlnet_tutorial.ipynb
4 participants