Tatiana Ivanova
Results
1
comments of
Tatiana Ivanova
> @bigtree2020 > > OpenCV `img = cv2.imread(path)` loads an image with HWC-layout (height, width, channels), while Pytorch requires CHW-layout. So we have to do `np.transpose(image,(2,0,1))` for HWC->CHW transformation. Thank...