This commit is contained in:
Jeremy Howard 2022-04-25 16:25:28 +10:00
parent 214c6efce1
commit 67711664c6
3 changed files with 4 additions and 4 deletions

View File

@ -319,8 +319,8 @@
"outputs": [], "outputs": [],
"source": [ "source": [
"class ModelResetter(Callback):\n", "class ModelResetter(Callback):\n",
" def begin_train(self): self.model.reset()\n", " def before_train(self): self.model.reset()\n",
" def begin_validate(self): self.model.reset()" " def before_validate(self): self.model.reset()"
] ]
}, },
{ {