kerzel commited on
Commit
80ba11b
·
1 Parent(s): 45a9fe7

load converted keras models

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -23,7 +23,7 @@ DEFAULT_IMAGE_PATH = "SE_001_cut.png"
23
  model1_windowsize = [250,250]
24
  #model1_threshold = 0.7
25
 
26
- model1 = keras.models.load_model('rwthmaterials_dp800_network1_inclusion.h5')
27
  model1.compile()
28
 
29
  damage_classes = {3: "Martensite",2: "Interface",0:"Notch",1:"Shadowing"}
@@ -31,7 +31,7 @@ damage_classes = {3: "Martensite",2: "Interface",0:"Notch",1:"Shadowing"}
31
  model2_windowsize = [100,100]
32
  #model2_threshold = 0.5
33
 
34
- model2 = keras.models.load_model('rwthmaterials_dp800_network2_damage.h5')
35
  model2.compile()
36
 
37
 
 
23
  model1_windowsize = [250,250]
24
  #model1_threshold = 0.7
25
 
26
+ model1 = keras.models.load_model('rwthmaterials_dp800_network1_inclusion.keras')
27
  model1.compile()
28
 
29
  damage_classes = {3: "Martensite",2: "Interface",0:"Notch",1:"Shadowing"}
 
31
  model2_windowsize = [100,100]
32
  #model2_threshold = 0.5
33
 
34
+ model2 = keras.models.load_model('rwthmaterials_dp800_network2_damage.keras')
35
  model2.compile()
36
 
37