when i run the table_to_image function there is a problem in subtraction of two arrays ,In this particular equation :
err_v[i] = np.sum(np.abs(source[i, 0:i] - target[i, 0:i])) + \ np.sum(np.abs(source[(i + 1):, i] - target[(i + 1):, i]))
And it always gives me this error : ValueError: operands could not be broadcast together with shapes (469,) (899,) .