Skip to content

Commit

Permalink
remove init, because empiricism
Browse files Browse the repository at this point in the history
  • Loading branch information
lucidrains committed Sep 18, 2021
1 parent fe9b20f commit f8e2f2d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
6 changes: 0 additions & 6 deletions se3_transformer_pytorch/se3_transformer_pytorch.py
Original file line number Diff line number Diff line change
Expand Up @@ -295,12 +295,6 @@ def __init__(
nn.Linear(mid_dim, num_freq * in_dim * out_dim)
)

self.apply(self.init_)

def init_(self, m):
if isinstance(m, nn.Linear):
nn.init.kaiming_uniform_(m.weight)

def forward(self, x):
y = self.net(x)
return rearrange(y, '... (o i f) -> ... o () i () f', i = self.in_dim, o = self.out_dim)
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
name = 'se3-transformer-pytorch',
packages = find_packages(),
include_package_data = True,
version = '0.8.12',
version = '0.8.13',
license='MIT',
description = 'SE3 Transformer - Pytorch',
author = 'Phil Wang',
Expand Down

0 comments on commit f8e2f2d

Please # to comment.