pytorch Dataloader Sampler参数深入理解_Chinesischguy的博客 …
https://blog.csdn.net/Chinesischguy/article/details/10319892122.11.2019 · DataLoader函数. 参数与初始化; def __init__ (self, dataset, batch_size = 1, shuffle = False, sampler = None, batch_sampler = None, num_workers = 0, collate_fn = None, pin_memory = False, drop_last = False, timeout = 0, worker_init_fn = None, multiprocessing_context = None):. 其中几个常用的参数. dataset 数据集,map-style and iterable-style 可以用index取值的对象、