Skip to content

Commit

Permalink
Merge pull request #23 from Chokyotager/patch-1
Browse files Browse the repository at this point in the history
[refactor] basis_keys to list
  • Loading branch information
lucidrains authored Nov 17, 2024
2 parents 3d5a1b5 + 4e4a27b commit 1a474e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion equiformer_pytorch/equiformer_pytorch.py
Original file line number Diff line number Diff line change
Expand Up @@ -1057,7 +1057,7 @@ def basis(self):

@basis.setter
def basis(self, basis):
self.basis_keys = basis.keys()
self.basis_keys = list(basis.keys())

for k, v in basis.items():
self.register_buffer(f'basis:{k}', v)
Expand Down

0 comments on commit 1a474e1

Please sign in to comment.