Skip to content

Commit

Permalink
replace s with self.s
Browse files Browse the repository at this point in the history
  • Loading branch information
rickiepark committed Feb 6, 2022
1 parent f825492 commit 11632a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 11_training_deep_neural_networks.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -3375,7 +3375,7 @@
" def on_batch_begin(self, batch, logs=None):\n",
" # 노트: 에포크마다 `batch` 매개변수가 재설정됩니다\n",
" lr = K.get_value(self.model.optimizer.lr)\n",
" K.set_value(self.model.optimizer.lr, lr * 0.1**(1 / s))\n",
" K.set_value(self.model.optimizer.lr, lr * 0.1**(1 / self.s))\n",
"\n",
" def on_epoch_end(self, epoch, logs=None):\n",
" logs = logs or {}\n",
Expand Down Expand Up @@ -7291,7 +7291,7 @@
"provenance": []
},
"kernelspec": {
"display_name": "Python 3",
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "python3"
},
Expand Down

0 comments on commit 11632a1

Please sign in to comment.