StereoSGBM: different outcome with same input

I’d like to add that this did not happen with open-cv 3.4.3.18 and Python 3.6. So it used to be deterministic.

Reinitialising the class with cv2.StereoSGBM_create() does not work as you experienced as well.