comment out model.compile
Browse files
app.py
CHANGED
|
@@ -24,7 +24,7 @@ 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"}
|
| 30 |
|
|
@@ -32,7 +32,7 @@ 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 |
|
| 38 |
|
|
|
|
| 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"}
|
| 30 |
|
|
|
|
| 32 |
#model2_threshold = 0.5
|
| 33 |
|
| 34 |
model2 = keras.models.load_model('rwthmaterials_dp800_network2_damage.keras')
|
| 35 |
+
#model2.compile()
|
| 36 |
|
| 37 |
|
| 38 |
|