如何从PyTorch获得单个随机exmaple DataLoader?
DataLoader
如果我DataLoader给出了多个图像和标签的分页,我如何获得单个随机图像和标签?
请注意,我不希望每个小批量单个图像和标签,我想要一个例子.
python pytorch
python ×1
pytorch ×1