Skip to content

Commit

Permalink
fixed fine-tuning example
Browse files Browse the repository at this point in the history
  • Loading branch information
BowenD-UCB committed Aug 27, 2024
1 parent aab43e4 commit be9bab9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/fine_tuning.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@
"outputs": [],
"source": [
"try:\n",
" import chgnet\n",
" from chgnet.model import CHGNet\n",
"except ImportError:\n",
" # install CHGNet (only needed on Google Colab or if you didn't install CHGNet yet)\n",
" !pip install chgnet"
" !pip install chgnet."
]
},
{
Expand Down Expand Up @@ -213,7 +213,7 @@
" lmo = Structure.from_str(cif, fmt=\"cif\")\n",
"\n",
"structures, energies_per_atom, forces, stresses, magmoms = [], [], [], [], []\n",
"\n",
"chgnet = CHGNet.load()\n",
"for _ in range(100):\n",
" structure = lmo.copy()\n",
" # stretch the cell by a small amount\n",
Expand Down

0 comments on commit be9bab9

Please sign in to comment.