napari_cellseg3d.code_models.models.model_SwinUNetR
SwinUNetR wrapper for napari_cellseg3d.
Classes:
| Name | Description |
|---|---|
SwinUNETR_ |
SwinUNETR wrapper for napari_cellseg3d. |
SwinUNETR_
Bases: SwinUNETR
SwinUNETR wrapper for napari_cellseg3d.
Methods:
| Name | Description |
|---|---|
__init__ |
Create a SwinUNetR model. |
Source code in napari_cellseg3d/code_models/models/model_SwinUNetR.py
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 | |
__init__
__init__(in_channels=1, out_channels=1, input_img_size=(64, 64, 64), use_checkpoint=True, **kwargs)
Create a SwinUNetR model.
Args: in_channels (int): number of input channels out_channels (int): number of output channels input_img_size (tuple): input image size use_checkpoint (bool): whether to use checkpointing during training. **kwargs: additional arguments to SwinUNETR.
Source code in napari_cellseg3d/code_models/models/model_SwinUNetR.py
18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 | |