Discrepancy between gaussian blur implemented with pytorch conv and OpenCV

Interesting. I just stumbled on a discrepancy between the output of cv2.GaussianBlur() and the output when using cv2.getGaussianKernel() and cv2.sepFilter2D().

Might be related to your discrepancy?