anindya-hf-2002
commited on
Commit
•
403b617
1
Parent(s):
db92e7b
Update model.py
Browse files
model.py
CHANGED
@@ -2,7 +2,7 @@ from keras.models import load_model
|
|
2 |
import numpy as np
|
3 |
|
4 |
labels = ['Chalky Soil', 'Mary Soil', 'Sand', 'Slit SOil', 'Alluvial Soil', 'Black Soil', 'Clay Soil', 'Red Soil']
|
5 |
-
MODEL_PATH = r"
|
6 |
|
7 |
def load_CNN_model():
|
8 |
model = load_model(MODEL_PATH)
|
|
|
2 |
import numpy as np
|
3 |
|
4 |
labels = ['Chalky Soil', 'Mary Soil', 'Sand', 'Slit SOil', 'Alluvial Soil', 'Black Soil', 'Clay Soil', 'Red Soil']
|
5 |
+
MODEL_PATH = r"DenseNet121v2_95.h5"
|
6 |
|
7 |
def load_CNN_model():
|
8 |
model = load_model(MODEL_PATH)
|