Skip to content

Commit

Permalink
small bug with init
Browse files Browse the repository at this point in the history
  • Loading branch information
lucidrains committed Sep 18, 2021
1 parent 7c79998 commit 83f64c4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion se3_transformer_pytorch/se3_transformer_pytorch.py
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ def __init__(
self.apply(self.init_)

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

def forward(self, x):
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.10',
version = '0.8.11',
license='MIT',
description = 'SE3 Transformer - Pytorch',
author = 'Phil Wang',
Expand Down

0 comments on commit 83f64c4

Please sign in to comment.