ocr_tflite
ocr_tflite copied to clipboard
operands could not be broadcast together with shapes (800,800) (3,) (800,800)
i am using the craft_float_800.tflite model . In craft preprocessing function i get following error mean=(0.485, 0.456, 0.406) 11 variance=(0.229, 0.224, 0.225) ---> 12 input_image -= np.array([mean[0] * 255.0, mean[1] * 255.0, mean[2] * 255.0], dtype=np.float32) 13 input_image /= np.array([variance[0] * 255.0, variance[1] * 255.0, variance[2] * 255.0], dtype=np.float32)