Skip to content

Commit

Permalink
Set positive PATIENCE to avoid too early stop, fixes GoogleCloudPlatf…
Browse files Browse the repository at this point in the history
  • Loading branch information
MrCsabaToth committed Sep 10, 2023
1 parent 6df1da3 commit ee86c2f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -757,7 +757,7 @@
"BATCH_SIZE = 300\n",
"EPOCHS = 100\n",
"EMBED_DIM = 10\n",
"PATIENCE = 0\n",
"PATIENCE = 20\n",
"\n",
"dnn_model = build_dnn_model(embed_dim=EMBED_DIM)\n",
"\n",
Expand Down Expand Up @@ -849,7 +849,7 @@
"BATCH_SIZE = 300\n",
"EMBED_DIM = 10\n",
"UNITS = 16\n",
"PATIENCE = 0\n",
"PATIENCE = 20\n",
"\n",
"rnn_model = build_rnn_model(embed_dim=EMBED_DIM, units=UNITS)\n",
"\n",
Expand Down Expand Up @@ -945,7 +945,7 @@
"FILTERS = 200\n",
"STRIDES = 2\n",
"KSIZE = 3\n",
"PATIENCE = 0\n",
"PATIENCE = 20\n",
"\n",
"\n",
"cnn_model = build_cnn_model(\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -705,7 +705,7 @@
"BATCH_SIZE = 300\n",
"EPOCHS = 100\n",
"EMBED_DIM = 10\n",
"PATIENCE = 0\n",
"PATIENCE = 20\n",
"\n",
"dnn_model = build_dnn_model(embed_dim=EMBED_DIM)\n",
"\n",
Expand Down Expand Up @@ -789,7 +789,7 @@
"BATCH_SIZE = 300\n",
"EMBED_DIM = 10\n",
"UNITS = 16\n",
"PATIENCE = 0\n",
"PATIENCE = 20\n",
"\n",
"rnn_model = build_rnn_model(embed_dim=EMBED_DIM, units=UNITS)\n",
"\n",
Expand Down Expand Up @@ -886,7 +886,7 @@
"FILTERS = 200\n",
"STRIDES = 2\n",
"KSIZE = 3\n",
"PATIENCE = 0\n",
"PATIENCE = 20\n",
"\n",
"\n",
"cnn_model = build_cnn_model(\n",
Expand Down

0 comments on commit ee86c2f

Please sign in to comment.