Skip to content

Commit

Permalink
Merge pull request #658 from atomistic-machine-learning/sh/fix_so3
Browse files Browse the repository at this point in the history
fixes bug and updates to new simpy verison
  • Loading branch information
jnsLs authored Aug 28, 2024
2 parents 2b36bf6 + 646c2ce commit ea056c6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ license = { file="LICENSE" }
requires-python = ">=3.10"
dependencies = [
"numpy>=2.0.0",
"sympy",
"sympy<=1.12",
"ase>=3.21",
"h5py",
"pyyaml",
Expand All @@ -36,8 +36,8 @@ dependencies = [
"dirsync",
"torch-ema",
"matscipy>=1.1.0",
"tensorboard",
"tensorboardX",
"tensorboard>=2.17.1",
"tensorboardX>=2.6.2.2",
"tqdm",
"pre-commit",
"black",
Expand Down
2 changes: 1 addition & 1 deletion src/schnetpack/representation/so3net.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def forward(self, inputs: Dict[str, torch.Tensor]):
x0 = self.embedding(atomic_numbers)
for embedding in self.electronic_embeddings:
x0 = x0 + embedding(x0, inputs)
x0 = x0.unsueeze(1)
x0 = x0.unsqueeze(1)

# compute interaction blocks and update atomic embeddings
x = so3.scalar2rsh(x0, int(self.lmax))
Expand Down

0 comments on commit ea056c6

Please sign in to comment.