We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3b174b commit ef63503Copy full SHA for ef63503
docs/tutorial.rst
@@ -55,7 +55,7 @@ Simple training pipeline
55
from segmentation_models.metrics import iou_score
56
57
BACKBONE = 'resnet34'
58
- preprocess_input = get_prepocessing(BACKBONE)
+ preprocess_input = get_preprocessing(BACKBONE)
59
60
# load your data
61
x_train, y_train, x_val, y_val = load_data(...)
@@ -66,7 +66,7 @@ Simple training pipeline
66
67
# define model
68
model = Unet(BACKBONE, encoder_weights='imagenet')
69
- model.complile('Adam', loss=bce_jaccard_loss, metrics=[iou_score])
+ model.compile('Adam', loss=bce_jaccard_loss, metrics=[iou_score])
70
71
# fit model
72
model.fit(
0 commit comments