Skip to content

Commit

Permalink
Update OCP-introduction.ipynb to use checkpoint_path parameter in OCP…
Browse files Browse the repository at this point in the history
…Calculator (#3)
  • Loading branch information
tmyracle authored Oct 2, 2023
1 parent 2fe77bb commit 699aa64
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ocp-tutorial/OCP-introduction.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,8 @@
],
"source": [
"from ocpmodels.common.relaxation.ase_utils import OCPCalculator\n",
"calc = OCPCalculator(checkpoint=os.path.expanduser(checkpoint), cpu=False)\n",
"# calc = OCPCalculator(checkpoint=os.path.expanduser(checkpoint), cpu=True)"
"calc = OCPCalculator(checkpoint_path=os.path.expanduser(checkpoint), cpu=False)\n",
"# calc = OCPCalculator(checkpoint_path=os.path.expanduser(checkpoint), cpu=True)"
]
},
{
Expand Down

0 comments on commit 699aa64

Please sign in to comment.