Skip to content

Add maisi controlnet training #1750

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

Merged
merged 22 commits into from
Jul 9, 2024

Conversation

guopengf
Copy link
Contributor

@guopengf guopengf commented Jul 2, 2024

Fixes # .

Description

Add training script for MAISI ControlNet.

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>

@guopengf guopengf self-assigned this Jul 2, 2024
@guopengf guopengf force-pushed the add-maisi-controlnet-training branch from 252d686 to 5884e19 Compare July 2, 2024 23:49
guopengf and others added 6 commits July 2, 2024 23:49
Signed-off-by: Pengfei Guo <[email protected]>
Signed-off-by: Pengfei Guo <[email protected]>
### Description
This updates the two example scripts which used old code MONAI no long
has.

### Checks
<!--- Put an `x` in all the boxes that apply, and remove the not
applicable items -->
- [ ] 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: Eric Kerfoot <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: YunLiu <[email protected]>
Signed-off-by: Pengfei Guo <[email protected]>
<!--pre-commit.ci start-->
updates:
- [github.com/pre-commit/pre-commit-hooks: v4.5.0 →
v4.6.0](pre-commit/pre-commit-hooks@v4.5.0...v4.6.0)
- [github.com/psf/black: 24.3.0 →
24.4.2](psf/black@24.3.0...24.4.2)
<!--pre-commit.ci end-->

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: Pengfei Guo <[email protected]>
Signed-off-by: Pengfei Guo <[email protected]>
@guopengf guopengf force-pushed the add-maisi-controlnet-training branch from 5884e19 to 3295944 Compare July 2, 2024 23:50
guopengf and others added 3 commits July 3, 2024 03:47
@guopengf guopengf marked this pull request as ready for review July 3, 2024 19:33
@guopengf guopengf requested a review from KumoLiu July 3, 2024 19:41
@mingxin-zheng
Copy link
Contributor

Hi @guopengf , can we have some doc-string added in the functions? Thanks!

guopengf added 2 commits July 4, 2024 03:36
Signed-off-by: Pengfei Guo <[email protected]>
@guopengf
Copy link
Contributor Author

guopengf commented Jul 4, 2024

Hi @guopengf , can we have some doc-string added in the functions? Thanks!

Hi @mingxin-zheng, thanks for the comments. I added docstring for util functions.

@mingxin-zheng
Copy link
Contributor

@KumoLiu I don't have any further comments except the ones above.

@KumoLiu KumoLiu requested review from ericspod and Nic-Ma July 5, 2024 13:27
@guopengf
Copy link
Contributor Author

guopengf commented Jul 8, 2024

Hi @KumoLiu and @mingxin-zheng, thanks for the valuable comments! I addressed them in the latest commit. In addition, I moved utility functions used in the controlnet training script to scripts/utils.py since I found Can's PR has been merged.

@KumoLiu KumoLiu merged commit d4d14e6 into Project-MONAI:main Jul 9, 2024
6 checks passed
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.

4 participants