sanjay-subramanya commited on
Commit
5f30ec2
1 Parent(s): cc7053a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -26,7 +26,7 @@ dice_loss = sm.losses.DiceLoss(class_weights = weights)
26
  focal_loss = sm.losses.CategoricalFocalLoss()
27
  total_loss = dice_loss + focal_loss
28
 
29
- saved_model = load_model('/content/satellite_segmentation_model.h5',
30
  custom_objects=({'dice_loss_plus_focal_loss': total_loss, 'jaccard_coef': jaccard_coef}))
31
 
32
  def process_input_image(image_source):
 
26
  focal_loss = sm.losses.CategoricalFocalLoss()
27
  total_loss = dice_loss + focal_loss
28
 
29
+ saved_model = load_model('satellite_segmentation_model.h5',
30
  custom_objects=({'dice_loss_plus_focal_loss': total_loss, 'jaccard_coef': jaccard_coef}))
31
 
32
  def process_input_image(image_source):