updated
Browse files
app.py
CHANGED
@@ -25,9 +25,8 @@ hp['dropout_rate'] = 0.1
|
|
25 |
hp['class_names'] = ["breast_benign", "breast_malignant"]
|
26 |
|
27 |
model = CNN_ViT(hp)
|
28 |
-
model.load_weights("model/ResViT_for_breast_cancer_classification
|
29 |
-
|
30 |
-
#model = from_pretrained_keras("ErnestBeckham/BreastResViT-II")
|
31 |
explainer = lime_image.LimeImageExplainer()
|
32 |
|
33 |
|
|
|
25 |
hp['class_names'] = ["breast_benign", "breast_malignant"]
|
26 |
|
27 |
model = CNN_ViT(hp)
|
28 |
+
model.load_weights("model/ResViT_for_breast_cancer_classification.keras")
|
29 |
+
print("Model initiated")
|
|
|
30 |
explainer = lime_image.LimeImageExplainer()
|
31 |
|
32 |
|