Skip to content

Commit

Permalink
Corrected typos
Browse files Browse the repository at this point in the history
get_preprocessing and compile
  • Loading branch information
gagolucasm authored Mar 6, 2019
1 parent 0e86486 commit 7ddcecf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ Simple training pipeline
from segmentation_models.metrics import iou_score
BACKBONE = 'resnet34'
preprocess_input = get_prepocessing(BACKBONE)
preprocess_input = get_preprocessing(BACKBONE)
# load your data
x_train, y_train, x_val, y_val = load_data(...)
Expand All @@ -90,7 +90,7 @@ Simple training pipeline
# define model
model = Unet(BACKBONE, encoder_weights='imagenet')
model.complile('Adam', loss=bce_jaccard_loss, metrics=[iou_score])
model.compile('Adam', loss=bce_jaccard_loss, metrics=[iou_score])
# fit model
model.fit(
Expand Down

0 comments on commit 7ddcecf

Please sign in to comment.