We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 932a843 commit 899b3bdCopy full SHA for 899b3bd
napari_cellseg3d/code_models/models/model_SwinUNetR.py
@@ -12,8 +12,8 @@ class SwinUNETR_(SwinUNETR):
12
def __init__(
13
self,
14
in_channels=1,
15
- out_channels=2,
16
- input_img_size=128,
+ out_channels=1,
+ input_img_size=(64, 64, 64),
17
use_checkpoint=True,
18
**kwargs,
19
):
@@ -24,6 +24,9 @@ def __init__(
24
out_channels=out_channels,
25
feature_size=48,
26
use_checkpoint=use_checkpoint,
27
+ drop_rate=0.5,
28
+ attn_drop_rate=0.5,
29
+ use_v2=True,
30
31
)
32
except TypeError as e:
@@ -34,6 +37,9 @@ def __init__(
34
37
out_channels=1,
35
38
36
39
40
41
42
43
44
45
# def forward(self, x_in):
0 commit comments