pemujo commited on
Commit
99bd39b
·
1 Parent(s): 22d6ba6

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +11 -0
README.md CHANGED
@@ -10,6 +10,17 @@ More information needed
10
 
11
  More information needed
12
 
 
 
 
 
 
 
 
 
 
 
 
13
  ## Training and evaluation data
14
 
15
  More information needed
 
10
 
11
  More information needed
12
 
13
+ ## Use in Keras
14
+
15
+
16
+ from huggingface_hub import notebook_login
17
+ notebook_login()
18
+
19
+ from huggingface_hub import from_pretrained_keras
20
+
21
+ model = from_pretrained_keras("MIDSCapstoneTeam/ContrailSentinel", custom_objects={'dice_loss_plus_5focal_loss': total_loss, 'jaccard_coef': jaccard_coef, 'IOU score' : sm.metrics.IOUScore(threshold=0.9, name="IOU score"), 'Dice Coeficient' : sm.metrics.FScore(threshold=0.6, name="Dice Coeficient")}, compile=False)
22
+
23
+
24
  ## Training and evaluation data
25
 
26
  More information needed