Adithedev commited on
Commit
5757e5d
1 Parent(s): 805eeb8

Update cv_func.py

Browse files
Files changed (1) hide show
  1. cv_func.py +2 -2
cv_func.py CHANGED
@@ -12,8 +12,8 @@ class CustomMSE(tf.keras.losses.Loss):
12
 
13
  def predict(image):
14
 
15
- with custom_object_scope({"CustomMSE": CustomMSE}):
16
- model = tf.keras.models.load_model("model-v1.h5")
17
 
18
  img = cv2.imread(image)
19
 
 
12
 
13
  def predict(image):
14
 
15
+
16
+ model = tf.keras.models.load_model("v1model.h5")
17
 
18
  img = cv2.imread(image)
19