Skip to content

Commit

Permalink
missing an ln
Browse files Browse the repository at this point in the history
  • Loading branch information
lucidrains committed Feb 16, 2023
1 parent a259fc6 commit 691324b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions med_seg_diff_pytorch/med_seg_diff_pytorch.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ def forward(self, x, time_emb = None):
def FeedForward(dim, mult = 4):
inner_dim = int(dim * mult)
return nn.Sequential(
LayerNorm(dim),
nn.Conv2d(dim, inner_dim, 1),
nn.GELU(),
nn.Conv2d(inner_dim, dim, 1),
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
setup(
name = 'med-seg-diff-pytorch',
packages = find_packages(exclude=[]),
version = '0.2.1',
version = '0.2.2',
license='MIT',
description = 'MedSegDiff - SOTA medical image segmentation - Pytorch',
author = 'Phil Wang',
Expand Down

0 comments on commit 691324b

Please sign in to comment.