Fix error in commented out code, fixes #89
parent
a357a93a57
commit
7b3d280a86
|
@ -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)"
|
||||||
|
|
Loading…
Reference in New Issue