Skip to content

Commit

Permalink
chore: Fix inaccurate documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
pierluigiferrari committed Apr 19, 2018
1 parent 1be6ebb commit 8b4297f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ssd300_training.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -163,9 +163,9 @@
"\n",
"model.load_weights(weights_path, by_name=True)\n",
"\n",
"# 3: Instantiate an Adam optimizer and the SSD loss function and compile the model.\n",
"# If you want to follow the original Caffe implementation, use the SGD optimizer\n",
"# that is commented out instead of the Adam optimizer.\n",
"# 3: Instantiate an optimizer and the SSD loss function and compile the model.\n",
"# If you want to follow the original Caffe implementation, use the preset SGD\n",
"# optimizer, otherwise I'd recommend the commented-out Adam optimizer.\n",
"\n",
"#adam = Adam(lr=0.001, beta_1=0.9, beta_2=0.999, epsilon=1e-08, decay=0.0)\n",
"sgd = SGD(lr=0.001, momentum=0.9, decay=0.0, nesterov=False)\n",
Expand Down Expand Up @@ -425,7 +425,7 @@
"source": [
"# Define model callbacks.\n",
"\n",
"# TODO: Set the filepath under which you want to save the weights.\n",
"# TODO: Set the filepath under which you want to save the model.\n",
"model_checkpoint = ModelCheckpoint(filepath='ssd300_pascal_07+12_epoch-{epoch:02d}_loss-{loss:.4f}_val_loss-{val_loss:.4f}.h5',\n",
" monitor='val_loss',\n",
" verbose=1,\n",
Expand Down

0 comments on commit 8b4297f

Please sign in to comment.