visdom
문서의 이전 판입니다!
Visdom
이미지 축 변환
일반 이미지(height x widht x channel)에서 torch (channel x height x width)로 변환
xs = np.array([[[1, 2, 3], [4, 5, 6], [7, 8, 8]]]) # (1, 2, 3) np.transpose(xs, (1, 2, 0)) # (2, 3, 1)
visdom.1537330928.txt.gz · 마지막으로 수정됨: 2024/03/23 02:37 (바깥 편집)