sanjay-subramanya commited on
Commit
f5a7dbe
1 Parent(s): b88102d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -21,7 +21,7 @@ dice_loss = sm.losses.DiceLoss(class_weights = weights)
21
  focal_loss = sm.losses.CategoricalFocalLoss()
22
  total_loss = dice_loss + focal_loss
23
 
24
- saved_model = load_model('/model/satellite_segmentation_model.h5',
25
  custom_objects=({'dice_loss_plus_focal_loss': total_loss, 'jaccard_coef': jaccard_coef}))
26
 
27
  def process_input_image(image_source):
 
21
  focal_loss = sm.losses.CategoricalFocalLoss()
22
  total_loss = dice_loss + focal_loss
23
 
24
+ saved_model = load_model('/satellite_segmentation_model.h5',
25
  custom_objects=({'dice_loss_plus_focal_loss': total_loss, 'jaccard_coef': jaccard_coef}))
26
 
27
  def process_input_image(image_source):