Skip to content

Commit

Permalink
fix ordering of heads
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyes319 committed May 2, 2024
1 parent 6ca53a7 commit fb35950
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mace/cli/run_train.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ def main() -> None:
if args.multiheads_finetuning:
logging.info("Using multiheads finetuning mode")
if heads is not None:
heads = list(set(["pbe_mp"] + heads))
heads = list(dict.fromkeys(["pbe_mp"] + heads))
args.heads = heads
else:
heads = ["pbe_mp", "Default"]
Expand Down

0 comments on commit fb35950

Please sign in to comment.