Skip to content

Commit

Permalink
6676 port generative networks controlnet (Project-MONAI#7312)
Browse files Browse the repository at this point in the history
Part of Project-MONAI#6676  .

### Description

Ports the ControlNet.

### Types of changes
<!--- Put an `x` in all the boxes that apply, and remove the not
applicable items -->
- [x] Non-breaking change (fix or new feature that would not break
existing functionality).
- [ ] Breaking change (fix or new feature that would cause existing
functionality to change).
- [x] New tests added to cover the changes.
- [ ] Integration tests passed locally by running `./runtests.sh -f -u
--net --coverage`.
- [ ] Quick tests passed locally by running `./runtests.sh --quick
--unittests --disttests`.
- [x] In-line docstrings updated.
- [x] Documentation updated, tested `make html` command in the `docs/`
folder.

---------

Signed-off-by: Mark Graham <[email protected]>
  • Loading branch information
marksgraham committed Jan 30, 2024
1 parent 249c39a commit c9f028e
Show file tree
Hide file tree
Showing 4 changed files with 604 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/source/networks.rst
Original file line number Diff line number Diff line change
Expand Up @@ -588,6 +588,11 @@ Nets
.. autoclass:: DiffusionModelUNet
:members:

`ControlNet`
~~~~~~~~~~~~
.. autoclass:: ControlNet
:members:

`RegUNet`
~~~~~~~~~
.. autoclass:: RegUNet
Expand Down
1 change: 1 addition & 0 deletions monai/networks/nets/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
from .basic_unet import BasicUNet, BasicUnet, Basicunet, basicunet
from .basic_unetplusplus import BasicUNetPlusPlus, BasicUnetPlusPlus, BasicunetPlusPlus, basicunetplusplus
from .classifier import Classifier, Critic, Discriminator
from .controlnet import ControlNet
from .daf3d import DAF3D
from .densenet import (
DenseNet,
Expand Down
Loading

0 comments on commit c9f028e

Please sign in to comment.