Unverified Commit 7ddcecfa authored by Lucas Gago's avatar Lucas Gago Committed by GitHub

Corrected typos

get_preprocessing and compile
parent 0e864862
......@@ -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(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment