To get the right tensor you need to: Convert the PIL image into a PyTorch tensor. ... a matrix (2D tensor), an array with three indices (3D tensor e.
確定! 回上一頁