Skip to content

Commit ef63503

Browse files
zcoderqubvel
authored andcommitted
Update tutorial.rst (#117)
fix: typo
1 parent f3b174b commit ef63503

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/tutorial.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ Simple training pipeline
5555
from segmentation_models.metrics import iou_score
5656
5757
BACKBONE = 'resnet34'
58-
preprocess_input = get_prepocessing(BACKBONE)
58+
preprocess_input = get_preprocessing(BACKBONE)
5959
6060
# load your data
6161
x_train, y_train, x_val, y_val = load_data(...)
@@ -66,7 +66,7 @@ Simple training pipeline
6666
6767
# define model
6868
model = Unet(BACKBONE, encoder_weights='imagenet')
69-
model.complile('Adam', loss=bce_jaccard_loss, metrics=[iou_score])
69+
model.compile('Adam', loss=bce_jaccard_loss, metrics=[iou_score])
7070
7171
# fit model
7272
model.fit(

0 commit comments

Comments
 (0)