Skip to content

Commit

Permalink
bugfix in mace-initial-model.py
Browse files Browse the repository at this point in the history
  • Loading branch information
pbenner committed Mar 2, 2025
1 parent 1579fb3 commit fe36bd1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/models/mace/mace-initial-model.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,15 @@ def get_model(args: argparse.Namespace):

heads = list(args.heads.keys())

z_table, atomic_energies, r_max, args.mean, args.std = get_statistics()
atomic_numbers, atomic_energies, args.r_max, args.mean, args.std = get_statistics()

model, output_args = configure_model(
args,
None,
atomic_energies,
model_foundation=None,
heads=heads,
z_table=AtomicNumberTable(z_table),
z_table=AtomicNumberTable(atomic_numbers),
)

torch.save(model, 'mace-initial.model')
Expand Down

0 comments on commit fe36bd1

Please sign in to comment.