Skip to content

Commit

Permalink
add back interaction first to MACE model
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyes319 committed Nov 22, 2024
1 parent 38834dc commit 3cd9bb8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions mace/tools/model_script_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,9 +152,7 @@ def _build_model(
distance_transform=args.distance_transform,
correlation=args.correlation,
gate=modules.gate_dict[args.gate],
interaction_cls_first=modules.interaction_classes[
"RealAgnosticInteractionBlock"
],
interaction_cls_first=modules.interaction_classes[args.interaction_first],
MLP_irreps=o3.Irreps(args.MLP_irreps),
atomic_inter_scale=args.std,
atomic_inter_shift=[0.0] * len(heads),
Expand Down

0 comments on commit 3cd9bb8

Please sign in to comment.