Skip to content

Commit

Permalink
Bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ardagoreci committed May 30, 2024
1 parent c18aff0 commit 5afe517
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/diffusion/augmentation.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def centre_random_augmentation(
device = atom_positions.x.device

# Center the atoms
center = atom_positions.mean(dim=-2, keepdim=True)
center = atom_positions.mean(dim=-1, keepdim=True)
atom_positions = atom_positions - center

# Sample random rotation
Expand Down

0 comments on commit 5afe517

Please sign in to comment.