Skip to content

Commit

Permalink
small fix to legacy tutorial
Browse files Browse the repository at this point in the history
  • Loading branch information
zulissimeta committed Jul 11, 2024
1 parent 1e6e101 commit 152565b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/legacy_tutorials/OCP_Tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -1427,7 +1427,6 @@ task = {
'grad_input': 'atomic forces',
'train_on_free_atoms': True,
'eval_on_free_atoms': True,
'relax_dataset': {"src": relax_dataset},
'write_pos': True,
'relaxation_steps': 200,
'num_relaxation_batches': 1,
Expand Down Expand Up @@ -1489,10 +1488,11 @@ optimizer = {
'force_coefficient': 100,
}
# Dataset
dataset = [
{'src': train_src, 'normalize_labels': False}, # train set
{'src': val_src}, # val set (optional)
]
dataset = {
'dataset': {'src': train_src, 'normalize_labels': False}, # train set
'val_dataset': {'src': val_src}, # val set (optional)
'relax_dataset': {"src": relax_dataset},
}
```


Expand Down

0 comments on commit 152565b

Please sign in to comment.