From 7ddcecfaf12d94e9c4a1f360d98e6c05ec248046 Mon Sep 17 00:00:00 2001 From: Lucas Gago Date: Wed, 6 Mar 2019 12:28:18 +0100 Subject: [PATCH] Corrected typos get_preprocessing and compile --- README.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index f09b429..5731d8a 100644 --- a/README.rst +++ b/README.rst @@ -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(...) @@ -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( -- GitLab