ily12
Results
3
comments of
ily12
how do you solve this question?
how do you solve this question?
When calculating SSIM,code is: img1 = img1.data.cpu().numpy().astype(np.float64) img2 = img2.data.cpu().numpy().astype(np.float64) kernel = cv2.getGaussianKernel(11, 1.5) window = np.outer(kernel, kernel.transpose()) there has a bug:AttributeError: 'NoneType' object has no attribute 'transpose',how to solve...