Skip to content

Commit

Permalink
Merge branch 'main' into step
Browse files Browse the repository at this point in the history
  • Loading branch information
mariogeiger committed Feb 2, 2023
2 parents 3ded1be + f5bbc34 commit f994f3e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion configs/aspirin_small.gin
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ logs.directory = "results"

datasets.train_path = "data/rmd17_aspirin_train.xyz" # in units of eV and Å
datasets.test_path = "data/rmd17_aspirin_test.xyz"
datasets.num_train = 150
datasets.train_num = 150
datasets.r_max = 5.0
datasets.valid_fraction = 0.208
datasets.n_node = 512
Expand Down
4 changes: 2 additions & 2 deletions mace_jax/tools/gin_datasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def datasets(
r_max: float,
train_path: str,
config_type_weights: Dict = None,
num_train: int = None,
train_num: int = None,
valid_path: str = None,
valid_fraction: float = None,
valid_num: int = None,
Expand Down Expand Up @@ -46,7 +46,7 @@ def datasets(
energy_key=energy_key,
forces_key=forces_key,
extract_atomic_energies=True,
num_configs=num_train,
num_configs=train_num,
prefactor_stress=prefactor_stress,
remap_stress=remap_stress,
)
Expand Down

0 comments on commit f994f3e

Please sign in to comment.