Skip to content
This repository was archived by the owner on Dec 14, 2023. It is now read-only.

Commit 6ceb211

Browse files
Merge pull request #96 from ExponentialML/update/temporal_conv_dropout
Add temporal conv dropout
2 parents 95f2573 + 85ef0c3 commit 6ceb211

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

models/unet_3d_blocks.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,7 @@ def __init__(
276276
TemporalConvLayer(
277277
in_channels,
278278
in_channels,
279+
dropout=0.1
279280
)
280281
]
281282
attentions = []
@@ -322,6 +323,7 @@ def __init__(
322323
TemporalConvLayer(
323324
in_channels,
324325
in_channels,
326+
dropout=0.1
325327
)
326328
)
327329

@@ -437,6 +439,7 @@ def __init__(
437439
TemporalConvLayer(
438440
out_channels,
439441
out_channels,
442+
dropout=0.1
440443
)
441444
)
442445
attentions.append(
@@ -575,6 +578,7 @@ def __init__(
575578
TemporalConvLayer(
576579
out_channels,
577580
out_channels,
581+
dropout=0.1
578582
)
579583
)
580584

@@ -670,6 +674,7 @@ def __init__(
670674
TemporalConvLayer(
671675
out_channels,
672676
out_channels,
677+
dropout=0.1
673678
)
674679
)
675680
attentions.append(
@@ -803,6 +808,7 @@ def __init__(
803808
TemporalConvLayer(
804809
out_channels,
805810
out_channels,
811+
dropout=0.1
806812
)
807813
)
808814

0 commit comments

Comments
 (0)