Skip to content

Commit

Permalink
Update scripts/crystal/eval_crystalgflownet.py
Browse files Browse the repository at this point in the history
  • Loading branch information
alexhernandezgarcia authored Jan 25, 2024
1 parent 10ace79 commit b28c5a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/crystal/eval_crystalgflownet.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ def main(args):
min_angle=0.0,
max_angle=1.0,
)
energies = env.oracle(env.statebatch2proxy(x_sampled))
energies = env.oracle(env.states2proxy(x_sampled))
dct = {"energy": energies.tolist()}
pickle.dump(dct, open(tmp_dir / f"randomcrystals_samples_{i}.pkl", "wb"))

Expand Down

0 comments on commit b28c5a4

Please sign in to comment.