Fix error in commented out code, fixes #89

main
Aurélien Geron 2020-03-31 21:39:51 +13:00
parent a357a93a57
commit 7b3d280a86
1 changed files with 1 additions and 1 deletions

View File

@ -1599,7 +1599,7 @@
" #target_weights = target.get_weights()\n", " #target_weights = target.get_weights()\n",
" #online_weights = model.get_weights()\n", " #online_weights = model.get_weights()\n",
" #for index in range(len(target_weights)):\n", " #for index in range(len(target_weights)):\n",
" # target_weights[index] = 0.99 * target_weights[index] + 0.01 * target_weights[index]\n", " # target_weights[index] = 0.99 * target_weights[index] + 0.01 * online_weights[index]\n",
" #target.set_weights(target_weights)\n", " #target.set_weights(target_weights)\n",
"\n", "\n",
"model.set_weights(best_weights)" "model.set_weights(best_weights)"