Created
August 11, 2019 10:39
-
-
Save Diyago/efe84b0d68efac1aed23be11ecb42b04 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
model = Unet(backbone_name = 'efficientnetb0', encoder_weights='imagenet', encoder_freeze = False) | |
model.compile(optimizer = Adam(), loss=bce_jaccard_loss, metrics=[iou_score]) | |
history = model.fit_generator(train_generator, shuffle =True, | |
epochs=50, workers=4, use_multiprocessing=True, | |
validation_data = test_generator, | |
verbose = 1, callbacks=callbacks) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment