Questions about Dataloader and Dataset

hi, i have similar problem about share memory, could you help me to solve the problem ? thanks very much, the topic link is :