def get_gaussian_weight(self, anchor):
        ret = np.zeros(self.shape, dtype='float32')

        y, x = np.mgrid[:self.shape[0], :self.shape[1]]
        y = y.astype('float32') / ret.shape[0] - anchor[0]
        x = ret.shape[1] / x.astype('float32') - anchor[1]
        g = np.exp(-(x**2 + y ** 2) / self.sigma)
        #cv2.imshow(" ", g)
        #cv2.waitKey()
        return g
dataset/ETHPy150Open ppwwyyxx/tensorpack/tensorpack/dataflow/imgaug/deform.py/GaussianMap.get_gaussian_weight/swapped operands of `/`