3v324v23 commited on
Commit
d11e0da
·
1 Parent(s): 6be40eb

revise inferencing

Browse files
Files changed (1) hide show
  1. prediction.py +1 -1
prediction.py CHANGED
@@ -34,7 +34,7 @@ def predict():
34
 
35
  img_array = image.img_to_array(img)
36
  img_array = np.expand_dims(img_array, axis=0)
37
- img_array /= 255.0 # Normalize the image
38
 
39
  inf_pred_single = emotion_classification_model.predict(img_array)
40
 
 
34
 
35
  img_array = image.img_to_array(img)
36
  img_array = np.expand_dims(img_array, axis=0)
37
+ img_array /= (255*117) # Normalize the image
38
 
39
  inf_pred_single = emotion_classification_model.predict(img_array)
40