Skip to content

Commit

Permalink
Fix misspelling.
Browse files Browse the repository at this point in the history
  • Loading branch information
waleedka committed Nov 10, 2017
1 parent 181a0d3 commit 4f88103
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion config.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class Config(object):
# Number of validation steps to run at the end of every training epoch.
# A bigger number improves accuracy of validation stats, but slows
# down the training.
VALIDATION_STPES = 50
VALIDATION_STEPS = 50

# The strides of each layer of the FPN Pyramid. These values
# are based on a Resnet101 backbone.
Expand Down
2 changes: 1 addition & 1 deletion demo.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
"TRAIN_ROIS_PER_IMAGE 128\n",
"USE_MINI_MASK True\n",
"USE_RPN_ROIS True\n",
"VALIDATION_STPES 50\n",
"VALIDATION_STEPS 50\n",
"WEIGHT_DECAY 0.0001\n",
"\n",
"\n"
Expand Down
2 changes: 1 addition & 1 deletion inspect_model.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@
"TRAIN_ROIS_PER_IMAGE 128\n",
"USE_MINI_MASK True\n",
"USE_RPN_ROIS True\n",
"VALIDATION_STPES 50\n",
"VALIDATION_STEPS 50\n",
"WEIGHT_DECAY 0.0001\n",
"\n",
"\n"
Expand Down
2 changes: 1 addition & 1 deletion model.py
Original file line number Diff line number Diff line change
Expand Up @@ -2068,7 +2068,7 @@ def train(self, train_dataset, val_dataset, learning_rate, epochs, layers):
"steps_per_epoch": self.config.STEPS_PER_EPOCH,
"callbacks": callbacks,
"validation_data": next(val_generator),
"validation_steps": self.config.VALIDATION_STPES,
"validation_steps": self.config.VALIDATION_STEPS,
"max_queue_size": 100,
"workers": max(self.config.BATCH_SIZE // 2, 2),
"use_multiprocessing": True,
Expand Down
2 changes: 1 addition & 1 deletion shapes.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class ShapesConfig(Config):
STEPS_PER_EPOCH = 100

# use small validation steps since the epoch is small
VALIDATION_STPES = 5
VALIDATION_STEPS = 5


class ShapesDataset(utils.Dataset):
Expand Down
4 changes: 2 additions & 2 deletions train_shapes.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
"TRAIN_ROIS_PER_IMAGE 32\n",
"USE_MINI_MASK True\n",
"USE_RPN_ROIS True\n",
"VALIDATION_STPES 50\n",
"VALIDATION_STEPS 50\n",
"WEIGHT_DECAY 0.0001\n",
"\n",
"\n"
Expand Down Expand Up @@ -152,7 +152,7 @@
" STEPS_PER_EPOCH = 100\n",
"\n",
" # use small validation steps since the epoch is small\n",
" VALIDATION_STPES = 5\n",
" VALIDATION_STEPS = 5\n",
" \n",
"config = ShapesConfig()\n",
"config.display()"
Expand Down

0 comments on commit 4f88103

Please sign in to comment.