Thanks a lot, I have a hard time to understand what does " n.DataParallel  temporarily" means.
I’m using it after I’m calling my “model” but how can I add it temporarily for loading purposes?
Giving that this is my data loader (If  I understood you right)  :

train_loader = torch.utils.data.DataLoader(
    training_data,
    batch_size=opt.batch_size,
    shuffle=True,
    num_workers=opt.n_threads,
    pin_memory=True,
    drop_last=True)

I succeeded to solve the problem using a new dict, but it’s still interesting me…