Skip to content

Commit

Permalink
Merge branch 'train-with-dbs' of github.com:globus-labs/cascade into …
Browse files Browse the repository at this point in the history
…train-with-dbs
  • Loading branch information
WardLT committed Nov 12, 2024
2 parents 469b174 + f9bcc71 commit bc1d984
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions 1_ml-potential/mace/0_train-mace.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
if not file.endswith('.traj'):
rng.shuffle(my_atoms)

# Hash dataset for reproducibility
for atoms in my_atoms:
train_hasher.update(atoms.positions.tobytes())
train_hasher.update(atoms.cell.tobytes())
Expand Down

0 comments on commit bc1d984

Please sign in to comment.