dataloader的长度

数据集/batchsize

比如数据集共有10582张图片,batchsize设为26。那么

len(dataloader)  =  10582/26=407

你可能感兴趣的:(pytorch)